2010-10-04 20:27:00 +02:00
|
|
|
<?php
|
2010-10-05 21:44:30 +02:00
|
|
|
/*
|
|
|
|
* This file is part of the WebServiceBundle.
|
|
|
|
*
|
|
|
|
* (c) Christian Kerl <christian-kerl@web.de>
|
|
|
|
*
|
|
|
|
* This source file is subject to the MIT license that is bundled
|
|
|
|
* with this source code in the file LICENSE.
|
|
|
|
*/
|
2010-10-04 20:27:00 +02:00
|
|
|
|
|
|
|
namespace Bundle\WebServiceBundle;
|
|
|
|
|
2011-07-17 10:46:54 +02:00
|
|
|
use Bundle\WebServiceBundle\DependencyInjection\Compiler\WebServiceResolverPass;
|
2010-10-04 20:27:00 +02:00
|
|
|
|
2011-07-17 10:46:54 +02:00
|
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
2010-10-04 20:27:00 +02:00
|
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* WebServiceBundle.
|
|
|
|
*
|
2010-10-05 21:44:30 +02:00
|
|
|
* @author Christian Kerl <christian-kerl@web.de>
|
2010-10-04 20:27:00 +02:00
|
|
|
*/
|
|
|
|
class WebServiceBundle extends Bundle
|
|
|
|
{
|
2011-07-17 10:46:54 +02:00
|
|
|
public function build(ContainerBuilder $container)
|
|
|
|
{
|
|
|
|
parent::build($container);
|
|
|
|
|
|
|
|
$container->addCompilerPass(new WebServiceResolverPass());
|
|
|
|
}
|
2010-10-04 20:27:00 +02:00
|
|
|
}
|