load('services.yaml'); // $sLoader = new YamlFileLoader($container, new FileLocator('/config/packages/bluesquare')); // $sLoader->load('storage.yaml'); $configuration = $this->getConfiguration($configs, $container); $config = $this->processConfiguration($configuration, $configs); // dump(new FileLocator('/config/packages/bluesquare')); die; // dump($sLoader, $container, $configuration, $config); die; $definition = $container->getDefinition('bluesquare.storage'); $definition->setArgument(0, $config); return $config; } public function prepend(ContainerBuilder $container) { $configs = $container->getExtensionConfig($this->getAlias()); $config = $this->processConfiguration(new Configuration(), $configs); dump($config); die; } public function getAlias() { return ('bluesquare/storage'); // return parent::getAlias(); // TODO: Change the autogenerated stub } }