The bundle is back!

The definition of service has changed, read the README.
This commit is contained in:
Francis Besset
2011-07-17 10:46:54 +02:00
parent 81118f8d47
commit 1c608ccf20
48 changed files with 641 additions and 535 deletions

View File

@ -10,8 +10,9 @@
namespace Bundle\WebServiceBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Bundle\WebServiceBundle\DependencyInjection\Compiler\WebServiceResolverPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
@ -21,4 +22,10 @@ use Symfony\Component\HttpKernel\Bundle\Bundle;
*/
class WebServiceBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new WebServiceResolverPass());
}
}