Added headers in request
You can add @Soap\Header("foobar", phpType="string") in a method definition
This commit is contained in:
22
ServiceDefinition/Annotation/Header.php
Normal file
22
ServiceDefinition/Annotation/Header.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/*
|
||||
* This file is part of the BeSimpleSoapBundle.
|
||||
*
|
||||
* (c) Christian Kerl <christian-kerl@web.de>
|
||||
*
|
||||
* This source file is subject to the MIT license that is bundled
|
||||
* with this source code in the file LICENSE.
|
||||
*/
|
||||
|
||||
namespace BeSimple\SoapBundle\ServiceDefinition\Annotation;
|
||||
|
||||
/**
|
||||
* @Annotation
|
||||
*/
|
||||
class Header extends Param
|
||||
{
|
||||
public function getAliasName()
|
||||
{
|
||||
return 'header';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user