BeSimpleSoap/DependencyInjection/WebServiceExtension.php

34 lines
815 B
PHP
Raw Normal View History

2010-10-04 20:27:00 +02:00
<?php
namespace Bundle\WebServiceBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
2010-10-04 20:27:00 +02:00
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
class WebServiceExtension extends Extension
{
2010-10-04 20:39:04 +02:00
public function configLoad(array $config, ContainerBuilder $configuration)
{
$loader = new XmlFileLoader($configuration, __DIR__ . "/../Resources/config");
$loader->load("services.xml");
$configuration->setAlias("http_kernel", "webservice_http_kernel");
2010-10-04 20:39:04 +02:00
}
2010-10-04 20:27:00 +02:00
public function getXsdValidationBasePath()
{
return null;
}
public function getNamespace()
{
return null;
}
public function getAlias()
{
return 'webservice';
}
}