BeSimpleSoap/BeSimpleSoapBundle.php

34 lines
877 B
PHP
Raw Normal View History

2010-10-04 20:27:00 +02:00
<?php
/*
* This file is part of the BeSimpleSoapBundle.
*
* (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 BeSimple\SoapBundle;
2010-10-04 20:27:00 +02:00
use BeSimple\SoapBundle\DependencyInjection\Compiler\WebServiceResolverPass;
use BeSimple\SoapBundle\DependencyInjection\Compiler\TypeConverterPass;
2010-10-04 20:27:00 +02:00
use Symfony\Component\DependencyInjection\ContainerBuilder;
2010-10-04 20:27:00 +02:00
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* BeSimpleSoapBundle.
2010-10-04 20:27:00 +02:00
*
* @author Christian Kerl <christian-kerl@web.de>
2010-10-04 20:27:00 +02:00
*/
class BeSimpleSoapBundle extends Bundle
2010-10-04 20:27:00 +02:00
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new WebServiceResolverPass());
$container->addCompilerPass(new TypeConverterPass());
}
}