somes updates

This commit is contained in:
2019-02-19 18:10:36 +01:00
parent dac3090138
commit 2bab3d7c9e
7 changed files with 88 additions and 76 deletions

22
ValidatorBundle.php Normal file
View File

@@ -0,0 +1,22 @@
<?php
namespace Bluesquare\ValidatorBundle;
use Bluesquare\ValidatorBundle\DependencyInjection\ValidatorExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class ValidatorBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
}
public function getContainerExtension()
{
if (null === $this->extension)
$this->extension = new ValidatorExtension();
return $this->extension;
}
}