You've already forked symfony-validator
version 1.1
This commit is contained in:
22
ValidatorBundle/ValidatorBundle.php
Normal file
22
ValidatorBundle/ValidatorBundle.php
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user