PHP Class Cake\Upgrade\Shell\Task\SkeletonTask

Inheritance: extends BaseTask, use trait ChangeTrait
Show file Open project: cakephp/upgrade

Public Properties

Property Type Description
$tasks

Public Methods

Method Description
getOptionParser ( ) : Cake\Console\ConsoleOptionParser Get the option parser for this shell.

Protected Methods

Method Description
_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

Method Details

_addFile() protected method

_addFile()
protected _addFile ( string $file, string $sourcePath, string $targetPath, $targetFile = null ) : boolean
$file string
$sourcePath string
$targetPath string
return boolean

_process() protected method

Add missing files and folders in the root app dir.
protected _process ( mixed $path ) : boolean
$path mixed
return boolean

_shouldProcess() protected method

Is the current path within the scope of this task?
protected _shouldProcess ( string $path ) : boolean
$path string
return boolean

getOptionParser() public method

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

Property Details

$tasks public property

public $tasks