1 | <?php |
||
12 | class ServiceCommand extends LlumCommand |
||
13 | { |
||
14 | /** |
||
15 | * Command name. |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $commandName = 'service'; |
||
20 | |||
21 | /** |
||
22 | * Command description. |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $commandDescription = 'add service or services from file to config/services.php file'; |
||
27 | |||
28 | /** |
||
29 | * Command argument. |
||
30 | * |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $argument = 'file'; |
||
34 | |||
35 | /** |
||
36 | * Command argument description. |
||
37 | * |
||
38 | * @var string |
||
39 | */ |
||
40 | protected $argumentDescription = 'the file with service/services to add'; |
||
41 | |||
42 | /** |
||
43 | * Execute the command. |
||
44 | * |
||
45 | * @param InputInterface $input |
||
46 | * @param OutputInterface $output |
||
47 | * |
||
48 | * @return int|null|void |
||
49 | */ |
||
50 | protected function execute(InputInterface $input, OutputInterface $output) |
||
59 | |||
60 | /** |
||
61 | * Configure the command options. |
||
62 | */ |
||
63 | protected function configure() |
||
73 | } |
||
74 |