메소드 | 설명 | |
---|---|---|
countBodyExpressions ( ) : integer | Gets amount of body expressions of the function. | |
countBodyExpressionsUntilReturn ( ) : integer | Gets amount of body expressions of the function before and including the first return statement. | |
getBodyExpressions ( ) : |
Gets the body expressions of the function. | |
getBodyExpressionsUntilReturn ( ) : |
Gets the body expressions of the function before and including the first return statement. | |
getCallableId ( ) : string | Gets the parameter id of the callable for the function. | |
getEvaluationContextFactory ( ) : |
Gets an evaluation context factory of the function. | |
getNamespace ( ) : string | null | Gets the namespace the function was defined in. | |
getParameterIds ( ) : string[] | ||
getParameterScopedVariableMap ( ) : array |
Gets an array containing the parameter ids as keys with their respective scoped variable name as the value. | |
getParameters ( ) : |
||
getScopeType ( ) : string | null | Gets the bound type of the function. | |
hasNamespace ( ) : boolean | Whether the function is defined in a namespace. | |
hasScopeType ( ) : boolean | Whether the function has a scoped type. | |
isInternal ( ) : boolean | ||
update ( string | null $scopeType, string | null $namespace, array $parameterScopedVariableMap, array $parameterExpressions, array $bodyExpressions = null ) : static | ||
updateBody ( array $bodyExpressions = null ) : static | ||
walk ( |
public countBodyExpressions ( ) : integer | ||
리턴 | integer |
public countBodyExpressionsUntilReturn ( ) : integer | ||
리턴 | integer |
public getBodyExpressions ( ) : |
||
리턴 |
public getBodyExpressionsUntilReturn ( ) : |
||
리턴 |
public getCallableId ( ) : string | ||
리턴 | string |
public getEvaluationContextFactory ( ) : |
||
리턴 |
public getNamespace ( ) : string | null | ||
리턴 | string | null |
public getParameterScopedVariableMap ( ) : array |
||
리턴 | array |
public getParameters ( ) : |
||
리턴 |
public getScopeType ( ) : string | null | ||
리턴 | string | null |
public hasNamespace ( ) : boolean | ||
리턴 | boolean |
public hasScopeType ( ) : boolean | ||
리턴 | boolean |
public update ( string | null $scopeType, string | null $namespace, array $parameterScopedVariableMap, array $parameterExpressions, array $bodyExpressions = null ) : static | ||
$scopeType | string | null | |
$namespace | string | null | |
$parameterScopedVariableMap | array | |
$parameterExpressions | array | |
$bodyExpressions | array | |
리턴 | static |
public updateBody ( array $bodyExpressions = null ) : static | ||
$bodyExpressions | array | |
리턴 | static |
public walk ( |
||
$walker | ||
리턴 | static |