symfony-storage/StorageBundle/StorageBundle.php

24 lines
576 B
PHP
Raw Normal View History

2019-02-20 11:24:22 +01:00
<?php
namespace Bluesquare\StorageBundle;
2019-02-20 11:29:03 +01:00
use Bluesquare\StorageBundle\DependencyInjection\StorageExtension;
2019-02-20 11:24:22 +01:00
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class StorageBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
2019-02-20 12:08:40 +01:00
dump($container); die;
2019-02-20 11:24:22 +01:00
}
public function getContainerExtension()
{
if (null === $this->extension)
$this->extension = new StorageExtension();
return $this->extension;
}
}