W3cubDocs

/Symfony 4.1

AddSecurityVotersPass

class AddSecurityVotersPass implements CompilerPassInterface

Adds all configured security voters to the access decision manager.

Traits

PriorityTaggedServiceTrait Trait that allows a generic method to find and sort service by priority option in the tag.

Methods

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Details

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Parameters

ContainerBuilder $container