// Validator
->
set('security.validator.user_password', UserPasswordValidator::
class) ->
args([ service('security.token_storage'
),
service('security.password_hasher_factory'
),
]) ->
tag('validator.constraint_validator',
['alias' => 'security.validator.user_password'
]) // Cache
->
set('cache.security_expression_language'
) ->
parent('cache.system'
) ->
private() ->
tag('cache.pool'
) // Cache Warmers
->
set('security.cache_warmer.expression', ExpressionCacheWarmer::
class) ->
args([ [],
service('security.expression_language'
),
]) ->
tag('kernel.cache_warmer'
) ->
set('controller.is_granted_attribute_listener', IsGrantedAttributeListener::
class)