PHP Класс WsdlToPhp\PackageGenerator\Model\Service

Наследование: extends AbstractModel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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