16 lines
416 B
PHP
16 lines
416 B
PHP
<?php
|
|
|
|
namespace Bundle\WebServiceBundle\ServiceBinding;
|
|
|
|
use Bundle\WebServiceBundle\ServiceDefinition\Method;
|
|
|
|
class DocumentLiteralWrappedResponseMessageBinder implements MessageBinderInterface
|
|
{
|
|
public function processMessage(Method $messageDefinition, $message)
|
|
{
|
|
$result = new \stdClass();
|
|
$result->{$messageDefinition->getName() . 'Result'} = $message;
|
|
|
|
return $result;
|
|
}
|
|
} |