Refactoring: yaml to php di, fix directory struct
This commit is contained in:
@ -14,7 +14,7 @@ class NsqExtension extends Extension
|
||||
*/
|
||||
public function load(array $configs, ContainerBuilder $container): void
|
||||
{
|
||||
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
|
||||
$loader->load('services.yml');
|
||||
$loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__.'/../config'));
|
||||
$loader->load('services.php');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user