2010-10-04 20:27:00 +02:00
|
|
|
<?php
|
2010-10-05 21:44:30 +02:00
|
|
|
/*
|
2011-07-18 22:43:12 +02:00
|
|
|
* This file is part of the BeSimpleSoapBundle.
|
2010-10-05 21:44:30 +02:00
|
|
|
*
|
|
|
|
* (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
|
|
|
|
2011-07-18 22:43:12 +02:00
|
|
|
namespace BeSimple\SoapBundle;
|
2010-10-04 20:27:00 +02:00
|
|
|
|
2011-07-18 22:43:12 +02:00
|
|
|
use BeSimple\SoapBundle\DependencyInjection\Compiler\WebServiceResolverPass;
|
2011-08-24 18:11:29 +02:00
|
|
|
use BeSimple\SoapBundle\DependencyInjection\Compiler\TypeConverterPass;
|
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;
|
|
|
|
|
|
|
|
/**
|
2011-07-18 22:43:12 +02:00
|
|
|
* BeSimpleSoapBundle.
|
2010-10-04 20:27:00 +02:00
|
|
|
*
|
2010-10-05 21:44:30 +02:00
|
|
|
* @author Christian Kerl <christian-kerl@web.de>
|
2010-10-04 20:27:00 +02:00
|
|
|
*/
|
2011-07-18 22:43:12 +02:00
|
|
|
class BeSimpleSoapBundle extends Bundle
|
2010-10-04 20:27:00 +02:00
|
|
|
{
|
2011-07-17 10:46:54 +02:00
|
|
|
public function build(ContainerBuilder $container)
|
|
|
|
{
|
|
|
|
parent::build($container);
|
|
|
|
|
|
|
|
$container->addCompilerPass(new WebServiceResolverPass());
|
2011-08-24 18:11:29 +02:00
|
|
|
$container->addCompilerPass(new TypeConverterPass());
|
2011-07-17 10:46:54 +02:00
|
|
|
}
|
2011-07-18 22:43:12 +02:00
|
|
|
}
|