mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge branch '2.1-appshell' into 2.1
This commit is contained in:
commit
4f1be12046
2 changed files with 33 additions and 3 deletions
|
@ -19,13 +19,12 @@
|
||||||
App::uses('Shell', 'Console');
|
App::uses('Shell', 'Console');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is a placeholder class.
|
* Application Shell
|
||||||
* Create the same file in app/Console/Command/AppShell.php
|
|
||||||
*
|
*
|
||||||
* Add your application-wide methods in the class below, your shells
|
* Add your application-wide methods in the class below, your shells
|
||||||
* will inherit them.
|
* will inherit them.
|
||||||
*
|
*
|
||||||
* @package Cake.Console
|
* @package app.Console.Command
|
||||||
*/
|
*/
|
||||||
class AppShell extends Shell {
|
class AppShell extends Shell {
|
||||||
|
|
31
lib/Cake/Console/Templates/skel/Console/Command/AppShell.php
Normal file
31
lib/Cake/Console/Templates/skel/Console/Command/AppShell.php
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* AppShell file
|
||||||
|
*
|
||||||
|
* PHP 5
|
||||||
|
*
|
||||||
|
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
||||||
|
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||||||
|
*
|
||||||
|
* Licensed under The MIT License
|
||||||
|
* Redistributions of files must retain the above copyright notice.
|
||||||
|
*
|
||||||
|
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||||||
|
* @link http://cakephp.org CakePHP(tm) Project
|
||||||
|
* @since CakePHP(tm) v 2.0
|
||||||
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||||
|
*/
|
||||||
|
|
||||||
|
App::uses('Shell', 'Console');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Application Shell
|
||||||
|
*
|
||||||
|
* Add your application-wide methods in the class below, your shells
|
||||||
|
* will inherit them.
|
||||||
|
*
|
||||||
|
* @package app.Console.Command
|
||||||
|
*/
|
||||||
|
class AppShell extends Shell {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue