src/PHPDish/Bundle/ResourceBundle/DependencyInjection/Compiler/RegisterResourcePass.php
public function process(ContainerBuilder $container)
    {
        if (
            !$container->hasParameter('phpdish.resources')
            || !$container->hasDefinition('phpdish_resource.resource_registry')
        ) {
            return;
        }
        $resourceRegistry = $container->findDefinition('phpdish_resource.resource_registry');
        $resourceRegistry->setArgument(0, $container->getParameter('phpdish.resources'));
    }
public function process(ContainerBuilder $container)
    {
        if (
            !$container->hasParameter('phpdish.resources')
            || !$container->hasDefinition('phpdish_resource.resource_registry')
        ) {
            return;
        }
        $resourceRegistry = $container->findDefinition('phpdish_resource.resource_registry');
        $resourceRegistry->setArgument(0, $container->getParameter('phpdish.resources'));
    }
{@inheritdoc}