PHP 클래스 Cake\Upgrade\Shell\Task\LocationsTask

상속: extends BaseTask, use trait ChangeTrait
파일 보기 프로젝트 열기: cakephp/upgrade

공개 프로퍼티들

프로퍼티 타입 설명
$tasks

공개 메소드들

메소드 설명
getOptionParser ( ) : Cake\Console\ConsoleOptionParser Get the option parser for this shell.

보호된 메소드들

메소드 설명
_isInRoot ( string $folder ) : boolean Detect if a target folder should be in ROOT.
_moves ( ) : array Key value map of from and to
_process ( mixed $path ) : boolean Check all moves, and stage moving the file to new location.
_relativeFromRoot ( string $folder, string $path ) : string Get the relative path from ROOT for a specific folder.
_shouldProcess ( string $path ) : boolean _shouldProcess

메소드 상세

_isInRoot() 보호된 메소드

Detect if a target folder should be in ROOT.
protected _isInRoot ( string $folder ) : boolean
$folder string
리턴 boolean Success

_moves() 보호된 메소드

Key value map of from and to
protected _moves ( ) : array
리턴 array

_process() 보호된 메소드

Check all moves, and stage moving the file to new location.
protected _process ( mixed $path ) : boolean
$path mixed
리턴 boolean

_relativeFromRoot() 보호된 메소드

Get the relative path from ROOT for a specific folder.
protected _relativeFromRoot ( string $folder, string $path ) : string
$folder string
$path string
리턴 string $path

_shouldProcess() 보호된 메소드

Is the current path within the scope of any move?
protected _shouldProcess ( string $path ) : boolean
$path string
리턴 boolean

getOptionParser() 공개 메소드

Get the option parser for this shell.
public getOptionParser ( ) : Cake\Console\ConsoleOptionParser
리턴 Cake\Console\ConsoleOptionParser

프로퍼티 상세

$tasks 공개적으로 프로퍼티

public $tasks