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

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

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

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

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

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

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

Метод Описание
_process ( mixed $path = null ) : boolean Process
_shouldProcess ( string $path ) : boolean _shouldProcess

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

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

Moves view templates for given routing prefix e.g. Move admin_action.ctp to Admin/action.ctp Extract admin_ prefixed actions from controller and create new controller in Admin subfolder
protected _process ( mixed $path = null ) : boolean
$path mixed
Результат boolean

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

Only process .ctp files for current prefix
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