Added besimple.soap.response service
It is highly recommended not to instantiate BeSimple\SoapBundle\Soap\SoapResponse but to use the service besimple.soap.response Before: public function helloAction($name) { return new SoapResponse("Hello ".$name); } After: public function helloAction($name) { return $this ->container ->get('besimple.soap.response') ->setReturnValue("Hello ".$name) ; }
This commit is contained in:
@ -58,6 +58,8 @@ class SoapResponse extends Response
|
||||
public function setReturnValue($value)
|
||||
{
|
||||
$this->soapReturnValue = $value;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getReturnValue()
|
||||
|
Reference in New Issue
Block a user