/**
  * @param InputInterface $input
  * @param OutputInterface $output
  * @return int|null|void
  * @codeCoverageIgnore
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $path = $input->getArgument('path');
     $projectParser = new ProjectParser(new Parser());
     /** @var Model $model */
     $model = $projectParser->parse($path);
     $this->writeCache($path, $model);
     $output->writeln('<info>Cache created Successfully!</info>');
 }
 public function createCache()
 {
     $model = $this->parser->parse($this->rootDir);
     $this->writeCache($this->cacheFilePath($this->rootDir), $model);
 }