[ * "path\\to\\MyBootstrapClass1", * [ * 'class' => "path\\to\\MyBootstrapClass2", * 'prop1' => 'value1', * 'prop2' => 'value2', * ], * ], * ]; * ``` * * As you can see, you can register a bootstrapping class in terms of either a class name or a configuration class. * * For more details and usage information on BootstrapInterface, see the [guide article on bootstrapping applications](guide:structure-applications). * * @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($app); }