PHP Класс Cake\Upgrade\Shell\Task\LocationsTask

Наследование: extends BaseTask, use trait ChangeTrait
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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