PHP 인터페이스 Pinq\Queries\Functions\IFunction

저자: Elliot Levin ([email protected])
상속: extends Serializable
파일 보기 프로젝트 열기: timetoogo/pinq 0 사용 예제들

공개 메소드들

메소드 설명
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 ( ) : Expression[] Gets the body expressions of the function.
getBodyExpressionsUntilReturn ( ) : Expression[] 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 ( ) : FunctionEvaluationContextFactory 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 ( ) : ParameterBase
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 ( ExpressionWalker $walker ) : static

메소드 상세

countBodyExpressions() 공개 메소드

Gets amount of body expressions of the function.
public countBodyExpressions ( ) : integer
리턴 integer

countBodyExpressionsUntilReturn() 공개 메소드

Gets amount of body expressions of the function before and including the first return statement.

getBodyExpressions() 공개 메소드

Gets the body expressions of the function.
public getBodyExpressions ( ) : Expression[]
리턴 Pinq\Expressions\Expression[]

getBodyExpressionsUntilReturn() 공개 메소드

Gets the body expressions of the function before and including the first return statement.
public getBodyExpressionsUntilReturn ( ) : Expression[]
리턴 Pinq\Expressions\Expression[]

getCallableId() 공개 메소드

Gets the parameter id of the callable for the function.
public getCallableId ( ) : string
리턴 string

getEvaluationContextFactory() 공개 메소드

Gets an evaluation context factory of the function.
public getEvaluationContextFactory ( ) : FunctionEvaluationContextFactory
리턴 FunctionEvaluationContextFactory

getNamespace() 공개 메소드

Null if was defined in the global namespace.
public getNamespace ( ) : string | null
리턴 string | null

getParameterIds() 공개 메소드

public getParameterIds ( ) : string[]
리턴 string[]

getParameterScopedVariableMap() 공개 메소드

Gets an array containing the parameter ids as keys with their respective scoped variable name as the value.
public getParameterScopedVariableMap ( ) : array
리턴 array

getParameters() 공개 메소드

public getParameters ( ) : ParameterBase
리턴 Pinq\Queries\Functions\Parameters\ParameterBase

getScopeType() 공개 메소드

Null if there is no bound type.
public getScopeType ( ) : string | null
리턴 string | null

hasNamespace() 공개 메소드

Whether the function is defined in a namespace.
public hasNamespace ( ) : boolean
리턴 boolean

hasScopeType() 공개 메소드

Whether the function has a scoped type.
public hasScopeType ( ) : boolean
리턴 boolean

isInternal() 공개 메소드

public isInternal ( ) : boolean
리턴 boolean

update() 공개 메소드

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

updateBody() 공개 메소드

public updateBody ( array $bodyExpressions = null ) : static
$bodyExpressions array
리턴 static

walk() 공개 메소드

public walk ( ExpressionWalker $walker ) : static
$walker Pinq\Expressions\ExpressionWalker
리턴 static