Sulu\Bundle\CoreBundle\DependencyInjection\Compiler\ReplacersCompilerPass::process PHP Метод

process() публичный Метод

You can modify the container here before it is dumped to PHP code.
public process ( ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder
    public function process(ContainerBuilder $container)
    {
        $this->loader = $container->get('sulu.content.path_cleaner.replacer_loader');
        $service = $container->getDefinition('sulu.content.path_cleaner');
        $replacers = $this->loader->load($this->filename);
        $service->addArgument($replacers);
    }
ReplacersCompilerPass