PHP 클래스 WsdlToPhp\PackageGenerator\Model\Service

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

공개 메소드들

메소드 설명
__construct ( Generator $generator, string $name ) Main constructor
addMethod ( string $methodName, string | array $methodParameterType, string | array $methodReturnType, boolean $methodIsUnique = true ) : Method Adds a method to the service
getContextualPart ( ) : string Returns the contextual part of the class name for the package
getDocSubPackages ( ) : array Returns the sub package name which the model belongs to Must be overridden by sub classes
getExtends ( boolean $short = false ) : string Allows to define from which class the curent model extends
getMethod ( string $methodName ) : Method | null Returns the method by its original name
getMethods ( ) : Method Returns the methods of the service
getReservedMethodsInstance ( $filename = null ) : ServiceReservedMethod

비공개 메소드들

메소드 설명
setMethods ( Method $methodContainer ) : Service Sets the methods container

메소드 상세

__construct() 공개 메소드

Main constructor
또한 보기: AbstractModel::__construct()
public __construct ( Generator $generator, string $name )
$generator WsdlToPhp\PackageGenerator\Generator\Generator
$name string the service name

addMethod() 공개 메소드

Adds a method to the service
public addMethod ( string $methodName, string | array $methodParameterType, string | array $methodReturnType, boolean $methodIsUnique = true ) : Method
$methodName string original method name
$methodParameterType string | array original parameter type/name
$methodReturnType string | array original return type/name
$methodIsUnique boolean original isUnique value
리턴 Method

getContextualPart() 공개 메소드

Returns the contextual part of the class name for the package
또한 보기: AbstractModel::getContextualPart()
public getContextualPart ( ) : string
리턴 string

getDocSubPackages() 공개 메소드

Returns the sub package name which the model belongs to Must be overridden by sub classes
또한 보기: AbstractModel::getDocSubPackages()
public getDocSubPackages ( ) : array
리턴 array

getExtends() 공개 메소드

Allows to define from which class the curent model extends
public getExtends ( boolean $short = false ) : string
$short boolean
리턴 string

getMethod() 공개 메소드

Returns the method by its original name
public getMethod ( string $methodName ) : Method | null
$methodName string the original method name
리턴 Method | null

getMethods() 공개 메소드

Returns the methods of the service
public getMethods ( ) : Method
리턴 WsdlToPhp\PackageGenerator\Container\Model\Method

getReservedMethodsInstance() 공개 메소드

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