BeSimpleSoap/DependencyInjection/WebServiceExtension.php

29 lines
649 B
PHP

<?php
namespace Bundle\WebServiceBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
class WebServiceExtension extends Extension
{
public function configLoad(array $config, ContainerBuilder $configuration)
{
$configuration->getDefinition("request")->setClass("Bundle\\WebServiceBundle\\SoapRequest");
}
public function getXsdValidationBasePath()
{
return null;
}
public function getNamespace()
{
return null;
}
public function getAlias()
{
return 'webservice';
}
}