The bundle is back!
The definition of service has changed, read the README.
This commit is contained in:
@ -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());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user