symfony-storage/StorageBundle/StorageBundle.php

23 lines
545 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);
}
public function getContainerExtension()
{
if (null === $this->extension)
$this->extension = new StorageExtension();
return $this->extension;
}
}