PHP 클래스 WsdlToPhp\PackageGenerator\File\Service

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

보호된 프로퍼티들

프로퍼티 타입 설명
$methods array Method model can't be found in case the original method's name is unclean: - ex: my.operation.name becomes my_operation_name thus the Model from Model\Service::getMethod() can't be found So we store the generated name associated to the original method object

공개 메소드들

메소드 설명
getModel ( ) : Service
getOperationMethodReturnType ( Method $method, Generator $generator ) : string
setModel ( AbstractModel $model ) : Service

보호된 메소드들

메소드 설명
addAnnnotationBlockForgetResultMethod ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock ) : Service
addAnnotationBlockForOperationMethod ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock, WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : Service
addAnnotationBlockForSoapHeaderMethod ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock, WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : Service
addGetResultMethod ( Method $methods ) : Service
addMainMethod ( Method $methods, Method $method ) : Service
addOperationsMethods ( Method $methods ) : Service
addSoapHeaderFromMethod ( Method $methods, Method $method )
addSoapHeaderMethods ( Method $methods ) : Service
getClassConstants ( Constant $constants )
getClassDeclarationLineText ( ) : string
getClassMethods ( Method $methods )
getClassProperties ( Property $properties )
getConstantAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpConstant $constant )
getMethodAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method )
getModelFromMethod ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : Method | null
getPropertyAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpProperty $property )
getServiceReturnTypes ( ) : string
getSoapHeaderMethod ( string $methodName, string $soapHeaderName, string $soapHeaderNamespace, string $soapHeaderType ) : WsdlToPhp\PhpGenerator\Element\PhpMethod
getSoapHeaderMethodName ( string $soapHeaderName ) : string
getTypeFromName ( string $name, boolean $namespaced = false ) : string
setModelFromMethod ( WsdlToPhp\PhpGenerator\Element\PhpMethod $phpMethod, Method $methodModel ) : Service

메소드 상세

addAnnnotationBlockForgetResultMethod() 보호된 메소드

protected addAnnnotationBlockForgetResultMethod ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock ) : Service
$annotationBlock WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
리턴 Service

addAnnotationBlockForOperationMethod() 보호된 메소드

protected addAnnotationBlockForOperationMethod ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock, WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : Service
$annotationBlock WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
리턴 Service

addAnnotationBlockForSoapHeaderMethod() 보호된 메소드

protected addAnnotationBlockForSoapHeaderMethod ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock, WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : Service
$annotationBlock WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
리턴 Service

addGetResultMethod() 보호된 메소드

protected addGetResultMethod ( Method $methods ) : Service
$methods WsdlToPhp\PackageGenerator\Container\PhpElement\Method
리턴 Service

addMainMethod() 보호된 메소드

protected addMainMethod ( Method $methods, Method $method ) : Service
$methods WsdlToPhp\PackageGenerator\Container\PhpElement\Method
$method WsdlToPhp\PackageGenerator\Model\Method
리턴 Service

addOperationsMethods() 보호된 메소드

protected addOperationsMethods ( Method $methods ) : Service
$methods WsdlToPhp\PackageGenerator\Container\PhpElement\Method
리턴 Service

addSoapHeaderFromMethod() 보호된 메소드

protected addSoapHeaderFromMethod ( Method $methods, Method $method )
$methods WsdlToPhp\PackageGenerator\Container\PhpElement\Method
$method WsdlToPhp\PackageGenerator\Model\Method

addSoapHeaderMethods() 보호된 메소드

protected addSoapHeaderMethods ( Method $methods ) : Service
$methods WsdlToPhp\PackageGenerator\Container\PhpElement\Method
리턴 Service

getClassConstants() 보호된 메소드

또한 보기: WsdlToPhp\PackageGenerator\File\AbstractModelFile::getClassConstants()
protected getClassConstants ( Constant $constants )
$constants WsdlToPhp\PackageGenerator\Container\PhpElement\Constant

getClassDeclarationLineText() 보호된 메소드

protected getClassDeclarationLineText ( ) : string
리턴 string

getClassMethods() 보호된 메소드

또한 보기: WsdlToPhp\PackageGenerator\File\AbstractModelFile::getClassMethods()
protected getClassMethods ( Method $methods )
$methods WsdlToPhp\PackageGenerator\Container\PhpElement\Method

getClassProperties() 보호된 메소드

또한 보기: WsdlToPhp\PackageGenerator\File\AbstractModelFile::getClassProperties()
protected getClassProperties ( Property $properties )
$properties WsdlToPhp\PackageGenerator\Container\PhpElement\Property

getConstantAnnotationBlock() 보호된 메소드

또한 보기: WsdlToPhp\PackageGenerator\File\AbstractModelFile::getConstantAnnotationBlock()
protected getConstantAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpConstant $constant )
$constant WsdlToPhp\PhpGenerator\Element\PhpConstant

getMethodAnnotationBlock() 보호된 메소드

또한 보기: WsdlToPhp\PackageGenerator\File\AbstractModelFile::getMethodAnnotationBlock()
protected getMethodAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method )
$method WsdlToPhp\PhpGenerator\Element\PhpMethod

getModel() 공개 메소드

또한 보기: WsdlToPhp\PackageGenerator\File\AbstractModelFile::getModel()
public getModel ( ) : Service
리턴 WsdlToPhp\PackageGenerator\Model\Service

getModelFromMethod() 보호된 메소드

protected getModelFromMethod ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : Method | null
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
리턴 WsdlToPhp\PackageGenerator\Model\Method | null

getOperationMethodReturnType() 공개 정적인 메소드

public static getOperationMethodReturnType ( Method $method, Generator $generator ) : string
$method WsdlToPhp\PackageGenerator\Model\Method
$generator WsdlToPhp\PackageGenerator\Generator\Generator
리턴 string

getPropertyAnnotationBlock() 보호된 메소드

또한 보기: WsdlToPhp\PackageGenerator\File\AbstractModelFile::getPropertyAnnotationBlock()
protected getPropertyAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpProperty $property )
$property WsdlToPhp\PhpGenerator\Element\PhpProperty

getServiceReturnTypes() 보호된 메소드

protected getServiceReturnTypes ( ) : string
리턴 string

getSoapHeaderMethod() 보호된 메소드

protected getSoapHeaderMethod ( string $methodName, string $soapHeaderName, string $soapHeaderNamespace, string $soapHeaderType ) : WsdlToPhp\PhpGenerator\Element\PhpMethod
$methodName string
$soapHeaderName string
$soapHeaderNamespace string
$soapHeaderType string
리턴 WsdlToPhp\PhpGenerator\Element\PhpMethod

getSoapHeaderMethodName() 보호된 메소드

protected getSoapHeaderMethodName ( string $soapHeaderName ) : string
$soapHeaderName string
리턴 string

getTypeFromName() 보호된 메소드

protected getTypeFromName ( string $name, boolean $namespaced = false ) : string
$name string
$namespaced boolean
리턴 string

setModel() 공개 메소드

또한 보기: WsdlToPhp\PackageGenerator\File\AbstractModelFile::setModel()
public setModel ( AbstractModel $model ) : Service
$model WsdlToPhp\PackageGenerator\Model\AbstractModel
리턴 Service

setModelFromMethod() 보호된 메소드

protected setModelFromMethod ( WsdlToPhp\PhpGenerator\Element\PhpMethod $phpMethod, Method $methodModel ) : Service
$phpMethod WsdlToPhp\PhpGenerator\Element\PhpMethod
$methodModel WsdlToPhp\PackageGenerator\Model\Method
리턴 Service

프로퍼티 상세

$methods 보호되어 있는 프로퍼티

Method model can't be found in case the original method's name is unclean: - ex: my.operation.name becomes my_operation_name thus the Model from Model\Service::getMethod() can't be found So we store the generated name associated to the original method object
protected array $methods
리턴 array