[TASK] Deprecate Extbase CommandControllers and @cli annotation
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / UnitDeprecated / Mvc / Cli / Fixture / Command / MockCCommandController.php
1 <?php
2 declare(strict_types = 1);
3
4 namespace TYPO3\CMS\Extbase\Tests\UnitDeprecated\Mvc\Cli\Fixture\Command;
5
6 /*
7 * This file is part of the TYPO3 CMS project.
8 *
9 * It is free software; you can redistribute it and/or modify it under
10 * the terms of the GNU General Public License, either version 2
11 * of the License, or any later version.
12 *
13 * For the full copyright and license information, please read the
14 * LICENSE.txt file that was distributed with this source code.
15 *
16 * The TYPO3 project - inspiring people to share!
17 */
18
19 /**
20 * Another mock CLI Command
21 */
22 class MockCCommandController extends \TYPO3\CMS\Extbase\Mvc\Cli\Command
23 {
24 /**
25 * @cli
26 */
27 public function cliOnlyCommand()
28 {
29 }
30
31 public function emptyCommand()
32 {
33 }
34
35 /**
36 * @internal
37 */
38 public function internalCommand()
39 {
40 }
41
42 /**
43 * @flushesCaches
44 */
45 public function flushingCachesCommand()
46 {
47 }
48
49 /**
50 * @param string $foo FooParamDescription
51 * @param string $bar BarParamDescription
52 */
53 public function withArgumentsCommand($foo, $bar = 'baz')
54 {
55 }
56
57 /**
58 * Short Description
59 *
60 * Longer Description
61 * Multine
62 *
63 * Much Multiline
64 */
65 public function withDescriptionCommand()
66 {
67 }
68
69 /**
70 * @see Foo:Bar:Baz
71 */
72 public function relatedCommandIdentifiersCommand()
73 {
74 }
75 }