Conditions | 3 |
Paths | 4 |
Total Lines | 17 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
44 | protected function execute(InputInterface $input, OutputInterface $output) |
||
45 | { |
||
46 | $manifestFilePath = $input->getArgument('manifest'); |
||
47 | |||
48 | $builder = new AssetBuilder($manifestFilePath); |
||
49 | |||
50 | if ($input->getOption('minify')) { |
||
51 | $builder->enableCompressor(); |
||
52 | } |
||
53 | |||
54 | if ($input->getOption('freeze')) { |
||
55 | $builder->enableFreezing(); |
||
56 | } |
||
57 | |||
58 | $builder->build(); |
||
59 | $output->writeln('Assets succesfuly builded'); |
||
60 | } |
||
61 | } |
||
62 |