Command-line code generation utility to automate programmer chores.
Bake is CakePHP's code generation script, which can help you kickstart application development by writing fully functional skeleton controllers, models, and views. Going further, Bake can also write Unit Tests for you.
$connection
public string
$tasks
public array
getOptionParser( )
Gets the option parser instance and configures it.
ConsoleOptionParser
startup( )
Assign $this->connection to the active task if a connection param is set.
public array
Contains tasks to load and instantiate
array('Project', 'DbConfig', 'Model', 'Controller', 'View', 'Plugin', 'Fixture', 'Test')
© 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-BakeShell.html