PHP Class Cake\Shell\Task\LoadTask

Inheritance: extends Cake\Console\Shell
Afficher le fichier Open project: cakephp/cakephp

Méthodes publiques

Свойство Type Description
$bootstrap string Path to the bootstrap file.

Méthodes publiques

Méthode Description
getOptionParser ( ) : Cake\Console\ConsoleOptionParser GetOptionParser method.
main ( string | null $plugin = null ) : boolean Execution method always used for tasks.

Méthodes protégées

Méthode Description
_modifyBootstrap ( string $plugin, boolean $hasBootstrap, boolean $hasRoutes, boolean $hasAutoloader ) : boolean Update the applications bootstrap.php file.

Method Details

_modifyBootstrap() protected méthode

Update the applications bootstrap.php file.
protected _modifyBootstrap ( string $plugin, boolean $hasBootstrap, boolean $hasRoutes, boolean $hasAutoloader ) : boolean
$plugin string Name of plugin.
$hasBootstrap boolean Whether or not bootstrap should be loaded.
$hasRoutes boolean Whether or not routes should be loaded.
$hasAutoloader boolean Whether or not there is an autoloader configured for the plugin.
Résultat boolean If modify passed.

getOptionParser() public méthode

GetOptionParser method.
public getOptionParser ( ) : Cake\Console\ConsoleOptionParser
Résultat Cake\Console\ConsoleOptionParser

main() public méthode

Execution method always used for tasks.
public main ( string | null $plugin = null ) : boolean
$plugin string | null The plugin name.
Résultat boolean

Property Details

$bootstrap public_oe property

Path to the bootstrap file.
public string $bootstrap
Résultat string