Skip to content

Commit b454d49

Browse files
author
Douglas Greenshields
committed
fix: declare controller as being container aware so container is auto-injected
1 parent d30266f commit b454d49

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121
],
2222
"require": {
23-
"php": ">=5.3.0",
23+
"php": ">=5.5.0",
2424
"ext-soap": "*",
2525
"ext-curl": "*",
2626
"ass/xmlsecurity": "~1.0",

src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
use BeSimple\SoapBundle\Soap\SoapResponse;
1818
use BeSimple\SoapServer\SoapServerBuilder;
1919
use Symfony\Component\DependencyInjection\ContainerAware;
20+
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
2021
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
2122
use Symfony\Component\HttpFoundation\Request;
2223
use Symfony\Component\HttpFoundation\Response;
@@ -29,7 +30,7 @@
2930
* @author Christian Kerl <[email protected]>
3031
* @author Francis Besset <[email protected]>
3132
*/
32-
class SoapWebServiceController
33+
class SoapWebServiceController implements ContainerAwareInterface
3334
{
3435
use ContainerAwareTrait;
3536

0 commit comments

Comments
 (0)