class Operation extends AbstractOperation (View source)

Constants

DEFAULT_TYPE

SOAP_CALL_NAME

Properties

protected Method $method from AbstractOperation
protected Generator $generator from AbstractOperation

Methods

__construct(Method $method, Generator $generator)

No description

Struct|null
getParameterTypeModel()

No description

bool
isParameterTypeEmpty()

No description

bool
isParameterTypeAnArray()

No description

string[]
getParameterTypeArrayTypes(bool $methodUsage = false)

No description

bool
isParameterTypeAString()

No description

bool
isParameterTypeAModel()

No description

string
getParameterName(string $name)

No description

PhpFunctionParameter
getMethodParameter(string $name, string $type = null)

No description

setGenerator(Generator $generator)

No description

getGenerator()

No description

setMethod(Method $method)

No description

getMethod()

No description

Struct|null
getModelByName(string $name)

No description

PhpMethod
getMainMethod()

No description

defineParameters(PhpMethod $method)

No description

defineParametersFromArray(PhpMethod $method)

No description

defineParametersFromModel(PhpMethod $method)

No description

defineParametersFromString(PhpMethod $method)

No description

defineBody(PhpMethod $method)

No description

string
getSoapCallName()

No description

string
getOperationCallParameters(PhpMethod $method)

No description

string
string
string
string
getOperationCallParameterName(PhpFunctionParameter $parameter, PhpMethod $method)

No description

Details

__construct(Method $method, Generator $generator)

Parameters

Method $method
Generator $generator

protected Struct|null getParameterTypeModel()

Return Value

Struct|null

protected bool isParameterTypeEmpty()

Return Value

bool

protected bool isParameterTypeAnArray()

Return Value

bool

protected string[] getParameterTypeArrayTypes(bool $methodUsage = false)

Parameters

bool $methodUsage

Return Value

string[]

protected bool isParameterTypeAString()

Return Value

bool

protected bool isParameterTypeAModel()

Return Value

bool

protected string getParameterName(string $name)

Parameters

string $name

Return Value

string

protected PhpFunctionParameter getMethodParameter(string $name, string $type = null)

Parameters

string $name
string $type

Return Value

PhpFunctionParameter

AbstractOperation setGenerator(Generator $generator)

Parameters

Generator $generator

Return Value

AbstractOperation

Generator getGenerator()

Return Value

Generator

AbstractOperation setMethod(Method $method)

Parameters

Method $method

Return Value

AbstractOperation

Method getMethod()

Return Value

Method

protected Struct|null getModelByName(string $name)

Parameters

string $name

Return Value

Struct|null

PhpMethod getMainMethod()

Return Value

PhpMethod

protected Operation defineParameters(PhpMethod $method)

Parameters

PhpMethod $method

Return Value

Operation

protected Operation defineParametersFromArray(PhpMethod $method)

Parameters

PhpMethod $method

Return Value

Operation

protected Operation defineParametersFromModel(PhpMethod $method)

Parameters

PhpMethod $method

Return Value

Operation

protected Operation defineParametersFromString(PhpMethod $method)

Parameters

PhpMethod $method

Return Value

Operation

protected Operation defineBody(PhpMethod $method)

Parameters

PhpMethod $method

Return Value

Operation

protected string getSoapCallName()

Return Value

string

protected string getOperationCallParameters(PhpMethod $method)

Parameters

PhpMethod $method

Return Value

string

protected string getOperationCallParametersSeparator()

Return Value

string

protected string getOperationCallParametersStarting()

Return Value

string

protected string getOperationCallParametersEnding()

Return Value

string

protected string getOperationCallParameterName(PhpFunctionParameter $parameter, PhpMethod $method)

Parameters

PhpFunctionParameter $parameter
PhpMethod $method

Return Value

string