Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
21 | public function initializeArguments() : void |
||
22 | { |
||
23 | $this->registerArgument('asset', AssetInterface::class, 'The asset to check for existence.', true); |
||
24 | $this->registerArgument('then', 'mixed', 'Value to be returned if the asset exists.', false); |
||
25 | $this->registerArgument('else', 'mixed', 'Value to be returned if the asset doesn\'t exist.', false); |
||
26 | } |
||
45 |