|
The Yaf_Bootstrap_Abstract classIntroductionBootstrap is a mechanism used to do some initial config before a Application run. User may define their own Bootstrap class by inheriting Yaf_Bootstrap_Abstract Any method declared in Bootstrap class with leading "_init", will be called by Yaf_Application::bootstrap one by one according to their defined order. ExamplesExample #1 Bootstrap example
The above example will output something similar to: string(22) "Bootstrap::_initConfig" string(22) "Bootstrap::_initPlugin" Class synopsisYaf_Bootstrap_Abstract
abstract
class Yaf_Bootstrap_Abstract
{
/* Properties */
/* Methods */
} |