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

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

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

Свойство Тип Описание
$tasks

Открытые методы

Метод Описание
getOptionParser ( ) : Cake\Console\ConsoleOptionParser Get the option parser for this shell.

Защищенные методы

Метод Описание
_addFile ( string $file, string $sourcePath, string $targetPath, $targetFile = null ) : boolean _addFile()
_process ( mixed $path ) : boolean Add missing files and folders in the root app dir.
_shouldProcess ( string $path ) : boolean _shouldProcess

Описание методов

_addFile() защищенный Метод

_addFile()
protected _addFile ( string $file, string $sourcePath, string $targetPath, $targetFile = null ) : boolean
$file string
$sourcePath string
$targetPath string
Результат boolean

_process() защищенный Метод

Add missing files and folders in the root app dir.
protected _process ( mixed $path ) : boolean
$path mixed
Результат boolean

_shouldProcess() защищенный Метод

Is the current path within the scope of this task?
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