Move services.yml

This commit is contained in:
Oliver Davies 2019-04-18 21:20:24 +01:00
parent e863de7133
commit 0779825f80
2 changed files with 1 additions and 1 deletions

View file

@ -11,7 +11,7 @@ class Container
public function __construct()
{
$this->containerBuilder = new ContainerBuilder();
$loader = new YamlFileLoader($this->containerBuilder, new FileLocator(__DIR__.'/../../config'));
$loader = new YamlFileLoader($this->containerBuilder, new FileLocator(__DIR__.'/../../'));
$loader->load('services.yml');
$this->containerBuilder->addCompilerPass(new CommandCompilerClass());
$this->containerBuilder->compile();