symfony-storage/StorageBundle/StorageBundle.php

23 lines
545 B
PHP
Raw Permalink Normal View History

2021-07-07 10:24:05 +02:00
<?php
namespace Bluesquare\StorageBundle;
use Bluesquare\StorageBundle\DependencyInjection\StorageExtension;
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;
}
}