update : 2015.11.03
php.shukuma.com검색:
|
Yaf_Application::bootstrap(Yaf >=1.0.0) Yaf_Application::bootstrap — Call bootstrap 설명Run a Bootstrap, all the methods defined in the Bootstrap and named with prefix "_init" will be called according to their declaration order, if the parameter bootstrap is not supplied, Yaf will look for a Bootstrap under application.directory. 인수
반환값Yaf_Application instance 예제Example #1 A Bootstrap()example
<?php Example #2 Yaf_Application::bootstrap()example
<?php 위 예제의 출력 예시: 1st called 2nd called |