From b459018386cf1f1a02699eb42816852c77a5dc8a Mon Sep 17 00:00:00 2001 From: Florin Patan Date: Thu, 14 Feb 2013 01:12:58 +0200 Subject: [PATCH] Add more classes to cache --- .../FrameworkExtension.php | 78 +++++++++++++++++++ .../DependencyInjection/SecurityExtension.php | 3 + .../DependencyInjection/TwigExtension.php | 20 +++++ 3 files changed, 101 insertions(+) diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php index 7cff079e82b22..7dc2dcddd39ff 100644 --- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php +++ b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php @@ -132,6 +132,84 @@ public function load(array $configs, ContainerBuilder $container) 'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerResolver', // Cannot be included because annotations will parse the big compiled class file // 'Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller', + + 'Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector', + 'Symfony\\Bundle\\FrameworkBundle\\Fragment\\ContainerAwareHIncludeFragmentRenderer', + 'Symfony\\Bundle\\FrameworkBundle\\Templating\\EngineInterface', + + 'Symfony\\Component\\DependencyInjection\\ParameterBag\\FrozenParameterBag', + 'Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBag', + 'Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBagInterface', + + 'Symfony\\Component\\Form\\AbstractRendererEngine', + 'Symfony\\Component\\Form\\Extension\\Csrf\\CsrfProvider\\CsrfProviderInterface', + 'Symfony\\Component\\Form\\Extension\\Csrf\\CsrfProvider\\DefaultCsrfProvider', + 'Symfony\\Component\\Form\\Extension\\Csrf\\CsrfProvider\\SessionCsrfProvider', + 'Symfony\\Component\\Form\\FormRenderer', + 'Symfony\\Component\\Form\\FormRendererEngineInterface', + 'Symfony\\Component\\Form\\FormRendererInterface', + + 'Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBag', + 'Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBagInterface', + 'Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBag', + 'Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBagInterface', + 'Symfony\\Component\\HttpFoundation\\Session\\SessionBagInterface', + 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\MetadataBag', + + 'Symfony\\Component\\HttpKernel\\DataCollector\\ConfigDataCollector', + 'Symfony\\Component\\HttpKernel\\DataCollector\\DataCollector', + 'Symfony\\Component\\HttpKernel\\DataCollector\\DataCollectorInterface', + 'Symfony\\Component\\HttpKernel\\DataCollector\\EventDataCollector', + 'Symfony\\Component\\HttpKernel\\DataCollector\\ExceptionDataCollector', + 'Symfony\\Component\\HttpKernel\\DataCollector\\LoggerDataCollector', + 'Symfony\\Component\\HttpKernel\\DataCollector\\MemoryDataCollector', + 'Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector', + 'Symfony\\Component\\HttpKernel\\DataCollector\\RouterDataCollector', + 'Symfony\\Component\\HttpKernel\\DataCollector\\TimeDataCollector', + 'Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener', + 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener', + 'Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener', + 'Symfony\\Component\\HttpKernel\\EventListener\\StreamedResponseListener', + 'Symfony\\Component\\HttpKernel\\Exception\\FlattenException', + 'Symfony\\Component\\HttpKernel\\Fragment\\FragmentHandler', + 'Symfony\\Component\\HttpKernel\\Fragment\\FragmentRendererInterface', + 'Symfony\\Component\\HttpKernel\\Fragment\\HIncludeFragmentRenderer', + 'Symfony\\Component\\HttpKernel\\Fragment\\InlineFragmentRenderer', + 'Symfony\\Component\\HttpKernel\\Fragment\\RoutableFragmentRenderer', + 'Symfony\\Component\\HttpKernel\\Profiler\\FileProfilerStorage', + 'Symfony\\Component\\HttpKernel\\Profiler\\Profiler', + 'Symfony\\Component\\HttpKernel\\Profiler\\ProfilerStorageInterface', + 'Symfony\\Component\\HttpKernel\\UriSigner', + + 'Symfony\\Component\\Security\\Core\\Authentication\\AuthenticationTrustResolver', + 'Symfony\\Component\\Security\\Core\\Authentication\\AuthenticationTrustResolverInterface', + 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\AuthenticationProviderInterface', + 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\DaoAuthenticationProvider', + 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\UserAuthenticationProvider', + 'Symfony\\Component\\Security\\Core\\Authorization\\Voter\\AuthenticatedVoter', + 'Symfony\\Component\\Security\\Core\\Authorization\\Voter\\RoleHierarchyVoter', + 'Symfony\\Component\\Security\\Core\\Authorization\\Voter\\RoleVoter', + 'Symfony\\Component\\Security\\Core\\Encoder\\EncoderFactory', + 'Symfony\\Component\\Security\\Core\\Encoder\\EncoderFactoryInterface', + 'Symfony\\Component\\Security\\Core\\Role\\RoleHierarchy', + 'Symfony\\Component\\Security\\Core\\Role\\RoleHierarchyInterface', + 'Symfony\\Component\\Security\\Core\\User\\AdvancedUserInterface', + 'Symfony\\Component\\Security\\Core\\User\\InMemoryUserProvider', + 'Symfony\\Component\\Security\\Core\\User\\User', + 'Symfony\\Component\\Security\\Core\\User\\UserChecker', + 'Symfony\\Component\\Security\\Core\\User\\UserCheckerInterface', + 'Symfony\\Component\\Security\\Core\\User\\UserInterface', + 'Symfony\\Component\\Security\\Http\\RememberMe\\RememberMeServicesInterface', + 'Symfony\\Component\\Security\\Http\\RememberMe\\ResponseListener', + + 'Symfony\\Component\\Templating\\EngineInterface', + 'Symfony\\Component\\Templating\\Helper\\Helper', + 'Symfony\\Component\\Templating\\Helper\\HelperInterface', + 'Symfony\\Component\\Templating\\StreamingEngineInterface', + + 'Symfony\\Component\\Translation\\IdentityTranslator', + 'Symfony\\Component\\Translation\\MessageSelector', + 'Symfony\\Component\\Translation\\TranslatorInterface', )); } diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php index 238c74cf5abe0..c4e3dd7db64bd 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php @@ -100,6 +100,9 @@ public function load(array $configs, ContainerBuilder $container) 'Symfony\\Bundle\\SecurityBundle\\Security\\FirewallMap', 'Symfony\\Bundle\\SecurityBundle\\Security\\FirewallContext', 'Symfony\\Component\\HttpFoundation\\RequestMatcher', + 'Symfony\\Bundle\\SecurityBundle\\DataCollector\\SecurityDataCollector', + 'Symfony\\Bundle\\SecurityBundle\\Templating\\Helper\\LogoutUrlHelper', + 'Symfony\\Bundle\\SecurityBundle\\Twig\\Extension\\LogoutUrlExtension', )); } diff --git a/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php b/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php index 5e056a85f4841..492d158feee0e 100644 --- a/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php +++ b/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php @@ -126,6 +126,26 @@ public function load(array $configs, ContainerBuilder $container) 'Twig_LoaderInterface', 'Twig_Markup', 'Twig_Template', + 'Twig_Error', + 'Twig_ExistsLoaderInterface', + 'Twig_Extension_Staging', + 'Twig_NodeVisitorInterface', + 'Symfony\\Bridge\\Twig\\Form\\TwigRenderer', + 'Symfony\\Bridge\\Twig\\Extension\\CodeExtension', + 'Symfony\\Bridge\\Twig\\Extension\\HttpKernelExtension', + 'Symfony\\Bridge\\Twig\\Extension\\RoutingExtension', + 'Symfony\\Bridge\\Twig\\Extension\\SecurityExtension', + 'Symfony\\Bridge\\Twig\\Extension\\TranslationExtension', + 'Symfony\\Bridge\\Twig\\Extension\\YamlExtension', + 'Symfony\\Bridge\\Twig\\Form\\TwigRendererEngine', + 'Symfony\\Bridge\\Twig\\Form\\TwigRendererEngineInterface', + 'Symfony\\Bridge\\Twig\\Form\\TwigRendererInterface', + 'Symfony\\Bridge\\Twig\\NodeVisitor\\TranslationNodeVisitor', + 'Symfony\\Bridge\\Twig\\TwigEngine', + 'Symfony\\Bundle\\TwigBundle\\Extension\\ActionsExtension', + 'Symfony\\Bundle\\TwigBundle\\Extension\\AssetsExtension', + 'Symfony\\Bundle\\TwigBundle\\Loader\\FilesystemLoader', + 'Symfony\\Bundle\\TwigBundle\\TwigEngine', )); }