2010-10-04 20:27:00 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Bundle\WebServiceBundle\DependencyInjection;
|
|
|
|
|
|
|
|
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)
|
|
|
|
{
|
|
|
|
$configuration->getDefinition("request")->setClass("Bundle\\WebServiceBundle\\SoapRequest");
|
|
|
|
}
|
2010-10-04 20:27:00 +02:00
|
|
|
|
|
|
|
public function getXsdValidationBasePath()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getNamespace()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getAlias()
|
|
|
|
{
|
|
|
|
return 'webservice';
|
|
|
|
}
|
|
|
|
}
|