| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <?php
- /**
- * ShellTestShell file
- *
- * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
- * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
- *
- * Licensed under The MIT License
- * For full copyright and license information, please see the LICENSE.txt
- * Redistributions of files must retain the above copyright notice
- *
- * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
- * @link https://cakephp.org CakePHP(tm) Project
- * @since 3.0.8
- * @license https://opensource.org/licenses/mit-license.php MIT License
- */
- namespace TestApp\Shell;
- use Cake\Console\Shell;
- /**
- * ShellTestShell class
- */
- class ShellTestShell extends Shell
- {
- /**
- * name property
- *
- * @var string
- */
- public $name = 'ShellTestShell';
- /**
- * stopped property
- *
- * @var int
- */
- public $stopped;
- /**
- * testMessage property
- *
- * @var string
- */
- public $testMessage = 'all your base are belong to us';
- /**
- * stop method
- *
- * @param int $status
- * @return void
- */
- protected function _stop($status = Shell::CODE_SUCCESS)
- {
- $this->stopped = $status;
- }
- protected function _secret()
- {
- }
- //@codingStandardsIgnoreStart
- public function doSomething()
- {
- }
- protected function noAccess()
- {
- }
- public function logSomething()
- {
- $this->log($this->testMessage);
- }
- //@codingStandardsIgnoreEnd
- }
|