W3cubDocs

/Symfony 2.8

Symfony\Bundle\SecurityBundle\DependencyInjection\Compiler\AddSecurityVotersPass

class AddSecurityVotersPass implements CompilerPassInterface

Adds all configured security voters to the access decision manager.

Methods

process(ContainerBuilder $container)

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

Details

public process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container