PHP Class WsdlToPhp\PackageGenerator\File\AbstractOperation

ファイルを表示 Open project: wsdltophp/packagegenerator

Protected Properties

Property Type Description
$generator WsdlToPhp\PackageGenerator\Generator\Generator
$method WsdlToPhp\PackageGenerator\Model\Method

Public Methods

Method Description
__construct ( Method $method, Generator $generator )
getGenerator ( ) : Generator
getMethod ( ) : Method
setGenerator ( Generator $generator ) : AbstractOperation
setMethod ( Method $method ) : AbstractOperation

Protected Methods

Method Description
getMethodParameter ( string $name, string $type = null ) : WsdlToPhp\PhpGenerator\Element\PhpFunctionParameter
getModelByName ( string $name ) : Struct | null
getParameterName ( string $name ) : string
getParameterTypeArrayTypes ( boolean $methodUsage = false ) : string[]
getParameterTypeModel ( ) : Struct | null
isParameterTypeAModel ( ) : boolean
isParameterTypeAString ( ) : boolean
isParameterTypeAnArray ( ) : boolean
isParameterTypeEmpty ( ) : boolean

Method Details

__construct() public method

public __construct ( Method $method, Generator $generator )
$method WsdlToPhp\PackageGenerator\Model\Method
$generator WsdlToPhp\PackageGenerator\Generator\Generator

getGenerator() public method

public getGenerator ( ) : Generator
return WsdlToPhp\PackageGenerator\Generator\Generator

getMethod() public method

public getMethod ( ) : Method
return WsdlToPhp\PackageGenerator\Model\Method

getMethodParameter() protected method

protected getMethodParameter ( string $name, string $type = null ) : WsdlToPhp\PhpGenerator\Element\PhpFunctionParameter
$name string
$type string
return WsdlToPhp\PhpGenerator\Element\PhpFunctionParameter

getModelByName() protected method

protected getModelByName ( string $name ) : Struct | null
$name string
return WsdlToPhp\PackageGenerator\Model\Struct | null

getParameterName() protected method

protected getParameterName ( string $name ) : string
$name string
return string

getParameterTypeArrayTypes() protected method

protected getParameterTypeArrayTypes ( boolean $methodUsage = false ) : string[]
$methodUsage boolean
return string[]

getParameterTypeModel() protected method

protected getParameterTypeModel ( ) : Struct | null
return WsdlToPhp\PackageGenerator\Model\Struct | null

isParameterTypeAModel() protected method

protected isParameterTypeAModel ( ) : boolean
return boolean

isParameterTypeAString() protected method

protected isParameterTypeAString ( ) : boolean
return boolean

isParameterTypeAnArray() protected method

protected isParameterTypeAnArray ( ) : boolean
return boolean

isParameterTypeEmpty() protected method

protected isParameterTypeEmpty ( ) : boolean
return boolean

setGenerator() public method

public setGenerator ( Generator $generator ) : AbstractOperation
$generator WsdlToPhp\PackageGenerator\Generator\Generator
return AbstractOperation

setMethod() public method

public setMethod ( Method $method ) : AbstractOperation
$method WsdlToPhp\PackageGenerator\Model\Method
return AbstractOperation

Property Details

$generator protected_oe property

protected Generator,WsdlToPhp\PackageGenerator\Generator $generator
return WsdlToPhp\PackageGenerator\Generator\Generator

$method protected_oe property

protected Method,WsdlToPhp\PackageGenerator\Model $method
return WsdlToPhp\PackageGenerator\Model\Method