[+FEATURE] Backport CommandController Implementation
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Unit / MVC / Fixture / CLI / Command / MockCommandController.php
1 <?php
2 /* *
3 * This script belongs to the Extbase framework. *
4 * *
5 * It is free software; you can redistribute it and/or modify it under *
6 * the terms of the GNU Lesser General Public License as published by the *
7 * Free Software Foundation, either version 3 of the License, or (at your *
8 * option) any later version. *
9 * *
10 * This script is distributed in the hope that it will be useful, but *
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- *
12 * TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser *
13 * General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU Lesser General Public *
16 * License along with the script. *
17 * If not, see http://www.gnu.org/licenses/lgpl.html *
18 * *
19 * The TYPO3 project - inspiring people to share! *
20 * */
21
22 /**
23 * A mock CLI Command
24 */
25 class Tx_Extbase_MVC_Fixture_CLI_Command_MockACommandController extends Tx_Extbase_MVC_CLI_Command {
26
27 public function fooCommand() {
28 }
29
30 public function barCommand($someArgument) {
31 }
32 }
33
34 /**
35 * Another mock CLI Command
36 */
37 class Tx_Extbase_MVC_Fixture_CLI_Command_MockBCommandController extends Tx_Extbase_MVC_CLI_Command {
38
39 public function bazCommand() {
40 }
41 }
42 ?>