PHP Class Wsdl2PhpGenerator\Xml\OperationNode

Inheritance: extends Wsdl2PhpGenerator\Xml\DocumentedNode
Show file Open project: wsdl2phpgenerator/wsdl2phpgenerator Class Usage Examples

Protected Properties

Property Type Description
$name string The name of the operation.
$params They are represented as a string in the format "type1 parameter1, type2 parameter2" etc.
$returns The name of the return type value.
$wsdlFunction string Note that the PHP SOAP client refers to these as functions.

Public Methods

Method Description
__construct ( $wsdlFunction )
getName ( ) : string Returns the name of the operation
getParams ( ) : string Returns a string representing the parameters of the operation.
getReturns ( ) : string Returns the name of the return type for the operation.

Method Details

__construct() public method

public __construct ( $wsdlFunction )

getName() public method

Returns the name of the operation
public getName ( ) : string
return string The operation name.

getParams() public method

Returns a string representing the parameters of the operation.
public getParams ( ) : string
return string Parameters in the format "type1 param1, typ2 param2".

getReturns() public method

Returns the name of the return type for the operation.
public getReturns ( ) : string
return string The operation return type.

Property Details

$name protected property

The name of the operation.
protected string $name
return string

$params protected property

They are represented as a string in the format "type1 parameter1, type2 parameter2" etc.
protected $params

$returns protected property

The name of the return type value.
protected $returns

$wsdlFunction protected property

Note that the PHP SOAP client refers to these as functions.
protected string $wsdlFunction
return string