From 03227295f6099db48854a812b69b4a38baf920a1 Mon Sep 17 00:00:00 2001 From: Cameron Murphy Date: Mon, 11 Jan 2016 16:09:42 +1100 Subject: [PATCH] Use ContainerAwareTrait and ContainerAwareInterface --- .../SoapBundle/Controller/SoapWebServiceController.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php b/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php index 29d08c3..2c97a9a 100644 --- a/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php +++ b/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php @@ -16,7 +16,8 @@ use BeSimple\SoapBundle\Handler\ExceptionHandler; use BeSimple\SoapBundle\Soap\SoapRequest; use BeSimple\SoapBundle\Soap\SoapResponse; use BeSimple\SoapServer\SoapServerBuilder; -use Symfony\Component\DependencyInjection\ContainerAware; +use Symfony\Component\DependencyInjection\ContainerAwareInterface; +use Symfony\Component\DependencyInjection\ContainerAwareTrait; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\Exception\FlattenException; @@ -28,8 +29,10 @@ use Symfony\Component\HttpKernel\Log\DebugLoggerInterface; * @author Christian Kerl * @author Francis Besset */ -class SoapWebServiceController extends ContainerAware +class SoapWebServiceController implements ContainerAwareInterface { + use ContainerAwareTrait; + /** * @var \SoapServer */