DependencyInjection/ControllerExtraExtension.php
protected function getConfigFiles(array $config) : array
    {
        return [
            'providers',
            'annotations_resolver',
            ['resolver_form', $config['form']['active']],
            ['resolver_flush', $config['flush']['active']],
            ['resolver_entity', $config['entity']['active']],
            ['resolver_log', $config['log']['active']],
            ['resolver_json_response', $config['json_response']['active']],
            ['resolver_paginator', $config['paginator']['active']],
            ['resolver_get', $config['get']['active']],
            ['resolver_post', $config['post']['active']],
        ];
    }
protected function getConfigFiles(array $config) : array
    {
        return [
            'providers',
            'annotations_resolver',
            ['resolver_form', $config['form']['active']],
            ['resolver_flush', $config['flush']['active']],
            ['resolver_entity', $config['entity']['active']],
            ['resolver_log', $config['log']['active']],
            ['resolver_json_response', $config['json_response']['active']],
            ['resolver_paginator', $config['paginator']['active']],
            ['resolver_get', $config['get']['active']],
            ['resolver_post', $config['post']['active']],
        ];
    }
protected function getConfigFiles ( array $ config ) : array { return [ 'providers' , 'annotations_resolver' , [ 'resolver_form' , $ config [ 'form' ] [ 'active' ] ] , [ 'resolver_flush' , $ config [ 'flush' ] [ 'active' ] ] , [ 'resolver_entity' , $ config [ 'entity' ] [ 'active' ] ] , [ 'resolver_log' , $ config [ 'log' ] [ 'active' ] ] , [ 'resolver_json_response' , $ config [ 'json_response' ] [ 'active' ] ] , [ 'resolver_paginator' , $ config [ 'paginator' ] [ 'active' ] ] , [ 'resolver_get' , $ config [ 'get' ] [ 'active' ] ] , [ 'resolver_post' , $ config [ 'post' ] [ 'active' ] ] , ] ; }
Config files to load.

Each array position can be a simple file name if must be loaded always,
or an array, with the filename in the first position, and a boolean in
the second one.

As a parameter, this method receives all loaded configuration, to allow
setting this boolean value from a configuration value.

return array(
'file1.yml',
'file2.yml',
['file3.yml', $config['my_boolean'],
...
);

@param array $config Config definitions

@return array Config files
Config files to load .