| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class ArtUpdateCommand extends Command |
||
| 12 | { |
||
| 13 | 1 | public function __construct( |
|
| 14 | private readonly ContainerInterface $dic, |
||
| 15 | ) { |
||
| 16 | 1 | parent::__construct( |
|
| 17 | 1 | 'art:update', |
|
| 18 | 1 | 'Update artwork of known items' |
|
| 19 | 1 | ); |
|
| 20 | |||
| 21 | 1 | $this |
|
| 22 | 1 | ->argument( |
|
| 23 | 1 | '<catalogId>', |
|
| 24 | 1 | 'Id of the catalog' |
|
| 25 | 1 | ) |
|
| 26 | 1 | ->usage( |
|
| 27 | 1 | '<bold> $0 au 666</end> <comment></end> ## Update the artwork of the catalog with id `666`<eol/>' |
|
| 28 | 1 | ); |
|
| 29 | } |
||
| 30 | |||
| 31 | 1 | public function execute(?int $catalogId): void |
|
| 34 | } |
||
| 35 | } |
||
| 36 |