The constructor is private, so direct instantiation is rejected:
<?php
$registry = new Yaf_Registry();
?>
The above example will output
something similar to:
PHP Fatal error: Uncaught Error: Call to private Yaf_Registry::__construct() from invalid context