Метод | Описание | |
---|---|---|
__construct ( |
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 ( ) : |
Returns the owner model object, meaning a Service object | |
getParameterType ( ) : string | string[] | Returns the parameter type | |
getReservedMethodsInstance ( $filename = null ) : |
||
getReturnType ( ) : string | Returns the retrun type | |
setIsUnique ( $isUnique ) : |
Set the isUnique property | |
setParameterType ( $parameterType ) : |
Set the parameter type | |
setReturnType ( $returnType ) : |
Set the retrun type |
public __construct ( |
||
$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 | defines the struct which owns this value | |
$isUnique | boolean | defines if the method is unique or not |
public getCleanName ( $keepMultipleUnderscores = true ) : string | ||
Результат | string |
public getIsUnique ( ) : boolean | ||
Результат | boolean |
public getMethodName ( ) : string | ||
Результат | string |
public getOwner ( ) : |
||
Результат |
public getParameterType ( ) : string | string[] | ||
Результат | string | string[] |
public getReservedMethodsInstance ( $filename = null ) : |
||
$filename | ||
Результат |
public getReturnType ( ) : string | ||
Результат | string |
public setIsUnique ( $isUnique ) : |
||
Результат |
public setParameterType ( $parameterType ) : |
||
Результат |
public setReturnType ( $returnType ) : |
||
Результат |