| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 12 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | 1 | public function __construct( |
|
| 16 | private readonly ContainerInterface $dic |
||
| 17 | ) { |
||
| 18 | 1 | parent::__construct( |
|
| 19 | 1 | 'catalog:update', |
|
| 20 | 1 | 'Updates the catalog' |
|
| 21 | 1 | ); |
|
| 22 | |||
| 23 | 1 | $this |
|
| 24 | 1 | ->argument( |
|
| 25 | 1 | '<catalogId>', |
|
| 26 | 1 | 'Id of the catalog' |
|
| 27 | 1 | ) |
|
| 28 | 1 | ->usage( |
|
| 29 | 1 | '<bold> $0 cu 666</end> <comment></end> ## Update the catalog with id `666`<eol/>' |
|
| 30 | 1 | ); |
|
| 43 |