[ * "path\\to\\MyBootstrapClass1", * [ * 'class' => "path\\to\\MyBootstrapClass2", * 'prop1' => 'value1', * 'prop2' => 'value2', * ], * ], * ]; * ``` * * As you can see, you can register a bootstrap class in terms of either a class name or a configuration class. * * @author Qiang Xue * @since 2.0 */ interface BootstrapInterface { /** * Bootstrap method to be called during application bootstrap stage. * @param Application $app the application currently running */ public function bootstrap(Application $app); }