class ParameterObject

Helper class to define object for webservice methods (complex types).

Methods

__construct(string|null $name = null)

No description

addMember(string $parameter, string $type, ParameterObject|null $serviceObject = null)

Adds an member variable to the complex type definition.

array
getMembers()

Returns the defined members.

string
getName()

Returns the object name

Details

at line 20
__construct(string|null $name = null)

No description

Parameters

string|null $name

at line 43
ParameterObject addMember(string $parameter, string $type, ParameterObject|null $serviceObject = null)

Adds an member variable to the complex type definition.

Beware: The order of the members matters!

Parameters

string $parameter
string $type
ParameterObject|null $serviceObject

If you use the type Method::OBJECT provide a definition of the object members

Return Value

ParameterObject

See also

Types for valid XSD type constants

at line 59
array getMembers()

Returns the defined members.

at line 28
string getName()

Returns the object name

Return Value

string