class OperationAnnotationBlock 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

addAnnotationBlockForOperationMethod(PhpAnnotationBlock $annotationBlock)

No description

addOperationMethodDeclaration(PhpAnnotationBlock $annotationBlock)

No description

addOperationMethodMetaInformations(PhpAnnotationBlock $annotationBlock)

No description

string[]
getSoapHeaderTypesTypes(array $soapHeaderTypes)

No description

string
getSoapHeaderTypeType(string $soapHeaderType, bool $namespaced = false)

No description

addOperationMethodUses(PhpAnnotationBlock $annotationBlock)

No description

addOperationMethodParam(PhpAnnotationBlock $annotationBlock)

No description

addOperationMethodParamFromArray(PhpAnnotationBlock $annotationBlock)

No description

addOperationMethodParamFromModel(PhpAnnotationBlock $annotationBlock)

No description

PhpAnnotation
getOperationMethodParam(string $type, string $name)

No description

addOperationMethodParamFromString(PhpAnnotationBlock $annotationBlock)

No description

addOperationMethodReturn(PhpAnnotationBlock $annotationBlock)

No description

string
getOperationMethodReturnType(Method $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

OperationAnnotationBlock addAnnotationBlockForOperationMethod(PhpAnnotationBlock $annotationBlock)

Parameters

PhpAnnotationBlock $annotationBlock

Return Value

OperationAnnotationBlock

protected OperationAnnotationBlock addOperationMethodDeclaration(PhpAnnotationBlock $annotationBlock)

Parameters

PhpAnnotationBlock $annotationBlock

Return Value

OperationAnnotationBlock

protected OperationAnnotationBlock addOperationMethodMetaInformations(PhpAnnotationBlock $annotationBlock)

Parameters

PhpAnnotationBlock $annotationBlock

Return Value

OperationAnnotationBlock

protected string[] getSoapHeaderTypesTypes(array $soapHeaderTypes)

Parameters

array $soapHeaderTypes

Return Value

string[]

protected string getSoapHeaderTypeType(string $soapHeaderType, bool $namespaced = false)

Parameters

string $soapHeaderType
bool $namespaced

Return Value

string

protected OperationAnnotationBlock addOperationMethodUses(PhpAnnotationBlock $annotationBlock)

Parameters

PhpAnnotationBlock $annotationBlock

Return Value

OperationAnnotationBlock

protected OperationAnnotationBlock addOperationMethodParam(PhpAnnotationBlock $annotationBlock)

Parameters

PhpAnnotationBlock $annotationBlock

Return Value

OperationAnnotationBlock

protected OperationAnnotationBlock addOperationMethodParamFromArray(PhpAnnotationBlock $annotationBlock)

Parameters

PhpAnnotationBlock $annotationBlock

Return Value

OperationAnnotationBlock

protected OperationAnnotationBlock addOperationMethodParamFromModel(PhpAnnotationBlock $annotationBlock)

Parameters

PhpAnnotationBlock $annotationBlock

Return Value

OperationAnnotationBlock

protected PhpAnnotation getOperationMethodParam(string $type, string $name)

Parameters

string $type
string $name

Return Value

PhpAnnotation

protected OperationAnnotationBlock addOperationMethodParamFromString(PhpAnnotationBlock $annotationBlock)

Parameters

PhpAnnotationBlock $annotationBlock

Return Value

OperationAnnotationBlock

protected OperationAnnotationBlock addOperationMethodReturn(PhpAnnotationBlock $annotationBlock)

Parameters

PhpAnnotationBlock $annotationBlock

Return Value

OperationAnnotationBlock

protected string getOperationMethodReturnType(Method $method)

Parameters

Method $method

Return Value

string