src/Acl/DependencyInjection/DsAclExtension.php
public function prepend(ContainerBuilder $container)
    {
        $container->prependExtensionConfig('ds_acl', [
            'enabled' => true,
            'entities' => [],
            'permissions' => []
        ]);

        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('packages/api_platform.yaml');
        $loader->load('config.yaml');
    }
public function prepend(ContainerBuilder $container)
    {
        $container->prependExtensionConfig('ds_acl', [
            'enabled' => true,
            'entities' => [],
            'permissions' => []
        ]);

        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('packages/api_platform.yaml');
        $loader->load('config.yaml');
    }
public function prepend ( ContainerBuilder $ container ) { $ container -> prependExtensionConfig ( 'ds_acl' , [ 'enabled' => true , 'entities' => [ ] , 'permissions' => [ ] ] ) ; $ loader = new Loader \ YamlFileLoader ( $ container , new FileLocator ( __DIR__ . '/../Resources/config' ) ) ; $ loader -> load ( 'packages/api_platform.yaml' ) ; $ loader -> load ( 'config.yaml' ) ; }
{@inheritdoc}
{