(No version information available, might only be in Git)
Examples:
Bootstrap example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
   /* bootstrap class should be defined under ./application/Bootstrap.php */
   class Bootstrap extends Yaf_Bootstrap_Abstract {
        public function _initConfig(Yaf_Dispatcher $dispatcher) {
            var_dump(__METHOD__);
        }
        public function _initPlugin(Yaf_Dispatcher $dispatcher) {
            var_dump(__METHOD__);
        }
   }
 
   $config array(
       "application" => array(
           "directory" => dirname(__FILE__) . "/application/",
       ),
   );
  
   $app new Yaf_Application($config);
   $app->bootstrap();
?>

The above example will output something similar to:

string(22) "Bootstrap::_initConfig"
string(22) "Bootstrap::_initPlugin"