from wtf to package

This commit is contained in:
2019-02-20 11:24:22 +01:00
parent 7a7fa86f79
commit 6bf380fa17
9 changed files with 558 additions and 23 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace Bluesquare\StorageBundle;
use Bluesquare\CryptorBundle\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;
}
}