| Total Complexity | 2 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | use Symfony\Component\Console\Output\OutputInterface; |
||
| 11 | |||
| 12 | class BuildCommand extends Command |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * The assetic service |
||
| 17 | |||
| 18 | */ |
||
| 19 | private Service $assetic; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Constructor. |
||
| 23 | */ |
||
| 24 | public function __construct(Service $assetic) |
||
| 25 | { |
||
| 26 | parent::__construct('build'); |
||
| 27 | $this->assetic = $assetic; |
||
| 28 | $this->setDescription('Build all assets.'); |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Executes the current command. |
||
| 33 | */ |
||
| 34 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 41 | } |
||
| 42 | |||
| 43 | } |
||
| 44 |