PHP Class Cake\Upgrade\Shell\Task\SkeletonTask

Inheritance: extends BaseTask, use trait ChangeTrait
Afficher le fichier Open project: cakephp/upgrade

Méthodes publiques

Свойство Type Description
$tasks

Méthodes publiques

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

Méthodes protégées

Méthode 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 méthode

_addFile()
protected _addFile ( string $file, string $sourcePath, string $targetPath, $targetFile = null ) : boolean
$file string
$sourcePath string
$targetPath string
Résultat boolean

_process() protected méthode

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

_shouldProcess() protected méthode

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

getOptionParser() public méthode

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

Property Details

$tasks public_oe property

public $tasks