Méthode | Description | |
---|---|---|
__construct ( |
Main constructor | |
addMethod ( string $methodName, string | array $methodParameterType, string | array $methodReturnType, boolean $methodIsUnique = true ) : |
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 ) : |
Returns the method by its original name | |
getMethods ( ) : |
Returns the methods of the service | |
getReservedMethodsInstance ( $filename = null ) : |
Méthode | Description | |
---|---|---|
setMethods ( |
Sets the methods container |
public __construct ( |
||
$generator | ||
$name | string | the service name |
public addMethod ( string $methodName, string | array $methodParameterType, string | array $methodReturnType, boolean $methodIsUnique = true ) : |
||
$methodName | string | original method name |
$methodParameterType | string | array | original parameter type/name |
$methodReturnType | string | array | original return type/name |
$methodIsUnique | boolean | original isUnique value |
Résultat |
public getContextualPart ( ) : string | ||
Résultat | string |
public getDocSubPackages ( ) : array | ||
Résultat | array |
public getExtends ( boolean $short = false ) : string | ||
$short | boolean | |
Résultat | string |
public getMethods ( ) : |
||
Résultat |
public getReservedMethodsInstance ( $filename = null ) : |
||
$filename | ||
Résultat |