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

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

공개 프로퍼티들

프로퍼티 타입 설명
$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