private function process($fullIndex) { //require_once 'app/bootstrap.php.cache'; require_once 'app/AppKernel.php'; $env = 'debug'; $debug = 1; $this->kernel = new AppKernel('dev', true); //$this->kernel->loadClassCache(); /* @var $kernel Symfony\Component\HttpKernel\Kernel */ $this->kernel->boot(); $this->container = $this->kernel->getContainer(); $this->containerBuilder = $this->getContainerBuilder(); $this->processBundles($fullIndex); $this->processParameters($fullIndex); $this->processServices($fullIndex); $this->processRoutes($fullIndex); $this->processDoctrineData($fullIndex); $this->processTwigFunctions($fullIndex); $this->processTemplates($fullIndex); $this->processAnnotations($fullIndex); }