2010-10-04 20:27:00 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Bundle\WebServiceBundle;
|
|
|
|
|
2010-10-04 21:13:45 +02:00
|
|
|
use Symfony\Component\HttpFoundation\Request;
|
2010-10-04 20:27:00 +02:00
|
|
|
|
2010-10-04 21:13:45 +02:00
|
|
|
use Symfony\Component\DependencyInjection\ContainerAware;
|
|
|
|
|
|
|
|
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
|
|
|
|
|
|
|
|
|
|
|
class SoapKernel extends ContainerAware implements HttpKernelInterface
|
2010-10-04 20:27:00 +02:00
|
|
|
{
|
2010-10-04 21:13:45 +02:00
|
|
|
public function getRequest()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
2010-10-04 20:27:00 +02:00
|
|
|
|
2010-10-04 21:19:18 +02:00
|
|
|
public function handle(Request $request = null, $type = self::MASTER_REQUEST, $raw = false)
|
2010-10-04 21:13:45 +02:00
|
|
|
{
|
|
|
|
$this->container->getSymfonyHttpKernelService()->handle($request, $type, $raw);
|
|
|
|
}
|
2010-10-04 20:27:00 +02:00
|
|
|
}
|