Defines the contract for classes that execute code during the Yii application bootstrap, enabling extensions to register initialization logic via Composer or configuration.
// Source: https://github.com/yiisoft/yii2 | License: BSD-3-Clause | Copyright 2008 by Yii Software (https://www.yiiframework.com/) // Provided via justclaw.it.com; keep this notice with the code. <?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\base; /** * BootstrapInterface is the interface that should be implemented by classes who want to participate in the application bootstrap process. * * The main method [[bootstrap()]] will be invoked by an application at the beginning of its `init()` method. * * Bootstrapping classes can be registered in two approaches. * * The first approach is mainly used by extensions and is managed by the Composer installation process. ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key