Change the ExtensionInterface load method definition to bo identical to the documentation.
This commit is contained in:
parent
e6d5de5dd3
commit
85c271b7a2
@ -18,7 +18,7 @@ use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
|||||||
|
|
||||||
class FirewallEntryPointExtension extends Extension
|
class FirewallEntryPointExtension extends Extension
|
||||||
{
|
{
|
||||||
public function load(array $config, ContainerBuilder $container)
|
public function load(array $configs, ContainerBuilder $container)
|
||||||
{
|
{
|
||||||
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
|
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
|
||||||
$loader->load('services.xml');
|
$loader->load('services.xml');
|
||||||
|
@ -23,12 +23,12 @@ interface ExtensionInterface
|
|||||||
/**
|
/**
|
||||||
* Loads a specific configuration.
|
* Loads a specific configuration.
|
||||||
*
|
*
|
||||||
* @param array $config An array of configuration values
|
* @param array $configs An array of configuration values
|
||||||
* @param ContainerBuilder $container A ContainerBuilder instance
|
* @param ContainerBuilder $container A ContainerBuilder instance
|
||||||
*
|
*
|
||||||
* @throws \InvalidArgumentException When provided tag is not defined in this extension
|
* @throws \InvalidArgumentException When provided tag is not defined in this extension
|
||||||
*/
|
*/
|
||||||
public function load(array $config, ContainerBuilder $container);
|
public function load(array $configs, ContainerBuilder $container);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the namespace to be used for this extension (XML namespace).
|
* Returns the namespace to be used for this extension (XML namespace).
|
||||||
|
Reference in New Issue
Block a user