PHP 클래스 WsdlToPhp\PackageGenerator\Model\Method

상속: extends AbstractModel
파일 보기 프로젝트 열기: wsdltophp/packagegenerator 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Generator $generator, string $name, string | array $parameterType, string | array $returnType, Service $service, boolean $isUnique = true ) Main constructor
getCleanName ( $keepMultipleUnderscores = true ) : string Method name can't starts with numbers
getIsUnique ( ) : boolean Returns the isUnique property
getMethodName ( ) : string Returns the name of the method that is used to call the operation It takes care of the fact that the method might not be the only one named as it is.
getOwner ( ) : Service Returns the owner model object, meaning a Service object
getParameterType ( ) : string | string[] Returns the parameter type
getReservedMethodsInstance ( $filename = null ) : ServiceReservedMethod
getReturnType ( ) : string Returns the retrun type
setIsUnique ( $isUnique ) : Method Set the isUnique property
setParameterType ( $parameterType ) : Method Set the parameter type
setReturnType ( $returnType ) : Method Set the retrun type

메소드 상세

__construct() 공개 메소드

Main constructor
또한 보기: AbstractModel::__construct()
public __construct ( Generator $generator, string $name, string | array $parameterType, string | array $returnType, Service $service, boolean $isUnique = true )
$generator WsdlToPhp\PackageGenerator\Generator\Generator
$name string the function name
$parameterType string | array the type/name of the parameter
$returnType string | array the type/name of the return value
$service Service defines the struct which owns this value
$isUnique boolean defines if the method is unique or not

getCleanName() 공개 메소드

Method name can't starts with numbers
또한 보기: WsdlToPhp\PackageGenerator\Model\AbstractModel::getCleanName()
public getCleanName ( $keepMultipleUnderscores = true ) : string
리턴 string

getIsUnique() 공개 메소드

Returns the isUnique property
public getIsUnique ( ) : boolean
리턴 boolean

getMethodName() 공개 메소드

Returns the name of the method that is used to call the operation It takes care of the fact that the method might not be the only one named as it is.
public getMethodName ( ) : string
리턴 string

getOwner() 공개 메소드

Returns the owner model object, meaning a Service object
또한 보기: AbstractModel::getOwner()
public getOwner ( ) : Service
리턴 Service

getParameterType() 공개 메소드

Returns the parameter type
public getParameterType ( ) : string | string[]
리턴 string | string[]

getReservedMethodsInstance() 공개 메소드

public getReservedMethodsInstance ( $filename = null ) : ServiceReservedMethod
$filename
리턴 WsdlToPhp\PackageGenerator\ConfigurationReader\ServiceReservedMethod

getReturnType() 공개 메소드

Returns the retrun type
public getReturnType ( ) : string
리턴 string

setIsUnique() 공개 메소드

Set the isUnique property
public setIsUnique ( $isUnique ) : Method
리턴 Method

setParameterType() 공개 메소드

Set the parameter type
public setParameterType ( $parameterType ) : Method
리턴 Method

setReturnType() 공개 메소드

Set the retrun type
public setReturnType ( $returnType ) : Method
리턴 Method