Download bigfoot / core-bundle / BaseCommand.php - Solve class 'BaseCommand' not found

This file is part of the package bigfoot/core-bundle. Please go to our download page to download this composer package and to solve the problem class 'BaseCommand' not found.
Download bigfoot/core-bundle
Class is not correct? Search class BaseCommand


<?php namespace Bigfoot\Bundle\CoreBundle\Command; use Doctrine\ORM\NoResultException; use Symfony\Component\Console\Input\InputOption; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; abstract class BaseCommand extends ContainerAwareCommand { /** * @var \Doctrine\ORM\EntityManager $entityManager */ private $entityManager; /** * @var \Symfony\Bundle\FrameworkBundle\Routing\Router $router */ private $router; /** * @var OutputInterface $output */ private $output; /** * Configure */ protected function configure() { } /** * Initializes the command just after the input has been validated. * * This is mainly useful when a lot of commands extends one main command * where some things need to be initialized based on the input arguments and options. * * @param InputInterface $input An InputInterface instance * @param OutputInterface $output An OutputInterface instance */ protected function initialize(InputInterface $input, OutputInterface $output) { parent::initialize($input, $output); $this->entityManager = $this->getContainer()->get('doctrine.orm.entity_manager'); $this->router = $this->getContainer()->get('router'); $this->output = $output; } /** * @return \Doctrine\ORM\EntityManager $entityManager */ protected function getEntityManager() { return $this->entityManager; } /** * @return EntityRepository */ protected function getRepository($class) { return $this->entityManager->getRepository($class); } /** * @return \Symfony\Bundle\FrameworkBundle\Routing\Router $router */ protected function getRouter() { return $this->router; } /** * @return Translation Repository */ protected function getTranslationRepository() { return $this->getRepository('Gedmo\Translatable\Entity\Translation'); } }