dev push
This commit is contained in:
parent
2338ca9050
commit
05ba73cd64
|
@ -4,22 +4,19 @@ namespace Bluesquare\BillingBundle\DependencyInjection;
|
|||
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
use Symfony\Component\DependencyInjection\Extension\Extension;
|
||||
use Symfony\Component\Routing\Loader\YamlFileLoader;
|
||||
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
|
||||
use Symfony\Component\Config\FileLocator;
|
||||
|
||||
class BillingExtension extends Extension
|
||||
{
|
||||
public function load(array $configs, ContainerBuilder $container)
|
||||
{
|
||||
$configuration = new Configuration();
|
||||
|
||||
$loader = new YamlFileLoader(
|
||||
$container,
|
||||
new FileLocator(__DIR__.'/../Resources/config')
|
||||
);
|
||||
$loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
|
||||
|
||||
$loader->load('services.yaml');
|
||||
|
||||
$configuration = new Configuration();
|
||||
|
||||
$this->addAnnotatedClassesToCompile([
|
||||
'Bluesquare\\BillingBundle\\Controller\\'
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue