Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added classes to cache #116

Closed
wants to merge 1 commit into from

1 participant

@dlsniper

Hello,

This commit adds some used classes to Symfony2 cache.
See the talk in sensiolabs/SensioDistributionBundle#76

Let me know if it needs anything else/if I've did it against the wrong branch (it should go into 2.2 distro).

Thanks.

@dlsniper

When will this be merged?
ping @schmittjoh

@dlsniper dlsniper closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 13, 2013
  1. @dlsniper

    Added classes to cache

    dlsniper authored
This page is out of date. Refresh to see the latest.
Showing with 11 additions and 0 deletions.
  1. +11 −0 DependencyInjection/JMSSecurityExtraExtension.php
View
11 DependencyInjection/JMSSecurityExtraExtension.php
@@ -104,6 +104,17 @@ public function load(array $configs, ContainerBuilder $container)
$loader->load('security_secure_random.xml');
$this->configureSecureRandom($config['util']['secure_random'], $container);
}
+
+ $this->addClassesToCompile(array(
+ 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\ContainerAwareExpressionHandler',
+ 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\ExpressionHandlerInterface',
+ 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\ExpressionVoter',
+ 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\LazyLoadingExpressionVoter',
+ 'JMS\\SecurityExtraBundle\\Security\\Authorization\\RememberingAccessDecisionManager',
+ /* This would introduce a hard dependency on Twig
+ 'JMS\\SecurityExtraBundle\\Twig\\SecurityExtension',
+ */
+ ));
}
private function configureSecureRandom(array $config, ContainerBuilder $container)
Something went wrong with that request. Please try again.