mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-02 01:22:37 +00:00
Adding execute function to interface
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3457 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
4df649dae5
commit
5dcd93f0ff
1 changed files with 13 additions and 6 deletions
|
@ -26,13 +26,20 @@
|
|||
* @lastmodified $Date$
|
||||
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
||||
*/
|
||||
class BakeTask {
|
||||
|
||||
/**
|
||||
class BakeTask {
|
||||
|
||||
/**
|
||||
* Override this function in subclasses to implement the task logic.
|
||||
* @param array $params The command line params (without script and task name).
|
||||
*/
|
||||
function execute($params) {
|
||||
// empty
|
||||
}
|
||||
|
||||
/**
|
||||
* Override this function in subclasses to provide a help message for your task.
|
||||
*/
|
||||
function help()
|
||||
{
|
||||
function help() {
|
||||
echo "There is no help available for the specified task.\n";
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue