The Plugin Task handles creating an empty plugin, ready to be used
$bootstrap
public string
$path
public array
_interactive( string $plugin null )
Interactive interface
$plugin
optional null _modifyBootstrap( string $plugin )
Update the app's bootstrap.php file.
$plugin
bake( string $plugin )
Bake the plugin, create directories and files
$plugin
findPath( array $pathOptions )
find and change $this->path to the user selection
$pathOptions
getOptionParser( )
Gets the option parser instance and configures it.
ConsoleOptionParser
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/2.9/class-PluginTask.html