PHP 클래스 Cake\Shell\Task\LoadTask

상속: extends Cake\Console\Shell
파일 보기 프로젝트 열기: cakephp/cakephp

공개 프로퍼티들

프로퍼티 타입 설명
$bootstrap string Path to the bootstrap file.

공개 메소드들

메소드 설명
getOptionParser ( ) : Cake\Console\ConsoleOptionParser GetOptionParser method.
main ( string | null $plugin = null ) : boolean Execution method always used for tasks.

보호된 메소드들

메소드 설명
_modifyBootstrap ( string $plugin, boolean $hasBootstrap, boolean $hasRoutes, boolean $hasAutoloader ) : boolean Update the applications bootstrap.php file.

메소드 상세

_modifyBootstrap() 보호된 메소드

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.
리턴 boolean If modify passed.

getOptionParser() 공개 메소드

GetOptionParser method.
public getOptionParser ( ) : Cake\Console\ConsoleOptionParser
리턴 Cake\Console\ConsoleOptionParser

main() 공개 메소드

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

프로퍼티 상세

$bootstrap 공개적으로 프로퍼티

Path to the bootstrap file.
public string $bootstrap
리턴 string