PartKeepr\DoctrineReflectionBundle\Command\GenerateEntityCommand::execute PHP Method

execute() public method

public execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    public function execute(InputInterface $input, OutputInterface $output)
    {
        $reflectionService = $this->getContainer()->get('doctrine_reflection_service');
        $cacheDir = $this->getContainer()->get('kernel')->getRootDir() . '/../web/bundles/doctrinereflection/';
        $reflectionService->createCache($cacheDir);
    }
GenerateEntityCommand