Skip to content

Commit

Permalink
added more classes in the class cache
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Nov 26, 2010
1 parent 6ab277e commit 44b8ee3
Showing 1 changed file with 9 additions and 0 deletions.
Expand Up @@ -122,15 +122,19 @@ public function configLoad($config, ContainerBuilder $container)
'Symfony\\Component\\HttpFoundation\\Request',
'Symfony\\Component\\HttpFoundation\\Response',

'Symfony\\Component\\HttpKernel\\BaseHttpKernel',
'Symfony\\Component\\HttpKernel\\HttpKernel',
'Symfony\\Component\\HttpKernel\\ResponseListener',
'Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver',
'Symfony\\Component\\HttpKernel\\Controller\\ControllerResolverInterface',

'Symfony\\Bundle\\FrameworkBundle\\RequestListener',
'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerNameConverter',
'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerResolver',

'Symfony\\Component\\EventDispatcher\\Event',
'Symfony\\Component\\EventDispatcher\\EventDispatcher',
'Symfony\\Bundle\\FrameworkBundle\\EventDispatcher',

'Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller',
));
Expand Down Expand Up @@ -328,6 +332,11 @@ protected function registerSessionConfiguration($config, ContainerBuilder $conta
}
}
$container->setParameter('session.storage.'.strtolower($config['storage_id']).'.options', $options);

$this->addCompiledClasses($container, array(
'Symfony\\Component\\HttpFoundation\\Session',
'Symfony\\Component\\HttpFoundation\\SessionStorage\\SessionStorageInterface',
));
}

protected function registerRouterConfiguration($config, ContainerBuilder $container)
Expand Down

0 comments on commit 44b8ee3

Please sign in to comment.