Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | #[AsCommand( |
||
16 | name: 'pn-twitch:update-stream', |
||
17 | description: 'Check steams' |
||
18 | )] |
||
19 | class UpdateStreamCommand extends Command |
||
20 | { |
||
21 | |||
22 | public function __construct( |
||
23 | private readonly MessageBusInterface $bus |
||
24 | ) { |
||
25 | parent::__construct(); |
||
26 | } |
||
27 | |||
28 | |||
29 | /** |
||
30 | * @param InputInterface $input |
||
31 | * @param OutputInterface $output |
||
32 | * @return int |
||
33 | * @throws Exception |
||
34 | */ |
||
35 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
39 | } |
||
40 | } |
||
41 |