public static function bootstrap($name)
    {
        deprecationWarning(
            'Plugin::bootstrap() is deprecated. ' .
            'This method will be removed in 4.0.0.'
        );
        $plugin = static::getCollection()->get($name);
        if (!$plugin->isEnabled('bootstrap')) {
            return false;
        }
        // Disable bootstrapping for this plugin as it will have
        // been bootstrapped.
        $plugin->disable('bootstrap');

        return static::_includeFile(
            $plugin->getConfigPath() . 'bootstrap.php',
            true
        );
    }
public static function bootstrap($name)
    {
        deprecationWarning(
            'Plugin::bootstrap() is deprecated. ' .
            'This method will be removed in 4.0.0.'
        );
        $plugin = static::getCollection()->get($name);
        if (!$plugin->isEnabled('bootstrap')) {
            return false;
        }
        // Disable bootstrapping for this plugin as it will have
        // been bootstrapped.
        $plugin->disable('bootstrap');

        return static::_includeFile(
            $plugin->getConfigPath() . 'bootstrap.php',
            true
        );
    }
public static function bootstrap ( $ name ) { deprecationWarning ( 'Plugin::bootstrap() is deprecated. ' . 'This method will be removed in 4.0.0.' ) ; $ plugin = static :: getCollection ( ) -> get ( $ name ) ; if ( ! $ plugin -> isEnabled ( 'bootstrap' ) ) { return false ; } // Disable bootstrapping for this plugin as it will have // been bootstrapped. $ plugin -> disable ( 'bootstrap' ) ; return static :: _includeFile ( $ plugin -> getConfigPath ( ) . 'bootstrap.php' , true ) ; }
Loads the bootstrapping files for a plugin, or calls the initialization setup in the configuration

@param string $name name of the plugin
@return mixed
@see \Cake\Core\Plugin::load() for examples of bootstrap configuration
@deprecated 3.7.0 This method will be removed in 4.0.0.
Loads the bootstrapping files for a plugin or calls the initialization setup in the configuration