| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class BuildWebsiteCommand extends Command |
||
| 14 | { |
||
| 15 | /** @var SourceFileRepository */ |
||
| 16 | private $sourceFileRepository; |
||
| 17 | |||
| 18 | /** @var SourceFilesBuilder */ |
||
| 19 | private $sourceFilesBuilder; |
||
| 20 | |||
| 21 | /** @var string */ |
||
| 22 | private $buildDir; |
||
| 23 | |||
| 24 | 3 | public function __construct( |
|
| 25 | SourceFileRepository $sourceFileRepository, |
||
| 26 | SourceFilesBuilder $sourceFilesBuilder, |
||
| 27 | string $buildDir |
||
| 28 | ) { |
||
| 29 | 3 | parent::__construct(); |
|
| 30 | |||
| 31 | 3 | $this->sourceFileRepository = $sourceFileRepository; |
|
| 32 | 3 | $this->sourceFilesBuilder = $sourceFilesBuilder; |
|
| 33 | 3 | $this->buildDir = $buildDir; |
|
| 34 | 3 | } |
|
| 35 | |||
| 36 | 3 | protected function configure() : void |
|
| 40 | 3 | } |
|
| 41 | |||
| 42 | 2 | protected function execute(InputInterface $input, OutputInterface $output) : int |
|
| 49 | } |
||
| 50 | } |
||
| 51 |