Class BakeTask
Base class for Bake Tasks.
- AppShell
- BakeTask
Direct Subclasses
Package: Cake\Console\Command\Task
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/Task/BakeTask.php
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/Task/BakeTask.php
Properties summary
-
$connection
publicstring
The db connection being used for baking -
$interactive
publicboolean
Flag for interactive mode -
$plugin
publicstring
Name of plugin
Method Summary
-
execute() public
Base execute method parses some parameters and sets some properties on the bake tasks. call when overriding execute()
-
getPath() public
Gets the path for output. Checks the plugin property and returns the correct path.
-
startup() public
Disable caching and enable debug for baking. This forces the most current database schema to be used.
Method Detail
execute() public ¶
execute( )
Base execute method parses some parameters and sets some properties on the bake tasks. call when overriding execute()