PHP Class Phpro\SoapClient\Soap\SoapClient

Inheritance: extends SoapClient
Show file Open project: phpro/soap-client Class Usage Examples

Protected Properties

Property Type Description
$types array SOAP types derived from WSDL

Public Methods

Method Description
getSoapElementType ( string $complexType, string $element ) : string Get a SOAP type’s element
getSoapElements ( string $complexType ) : array Get SOAP elements for a complexType
getSoapTypes ( ) : array Retrieve SOAP types from the WSDL and parse them

Method Details

getSoapElementType() public method

Get a SOAP type’s element
public getSoapElementType ( string $complexType, string $element ) : string
$complexType string Name of SOAP complexType
$element string Name of element belonging to SOAP complexType
return string

getSoapElements() public method

Get SOAP elements for a complexType
public getSoapElements ( string $complexType ) : array
$complexType string Name of SOAP complexType
return array Names of elements and their types

getSoapTypes() public method

Retrieve SOAP types from the WSDL and parse them
public getSoapTypes ( ) : array
return array Array of types and their properties

Property Details

$types protected property

SOAP types derived from WSDL
protected array $types
return array