PHP 클래스 Pinq\Parsing\FunctionSignature

저자: Elliot Levin ([email protected])
상속: extends MagicResolvable, implements Pinq\Parsing\IFunctionSignature
파일 보기 프로젝트 열기: timetoogo/pinq 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$accessModifier integer | null
$hash string
$isStatic boolean | null
$name string
$parameterExpressions Pinq\Expressions\ParameterExpression[]
$polymorphModifier integer | null
$returnsReference boolean
$scopedVariableNames string[] | null
$type integer

공개 메소드들

메소드 설명
closure ( boolean $returnsReference, array $parameterExpressions, array $scopedVariableNames ) : self Creates a closure signature with the supplied parameters.
fromReflection ( ReflectionFunctionAbstract $reflection ) : self Creates a function signature instance from the supplied reflection.
func ( boolean $returnsReference, string $name, array $parameterExpressions ) : self Creates a function signature with the supplied parameters.
getAccessModifier ( )
getHash ( )
getName ( )
getParameterExpressions ( )
getPolymorphModifier ( )
getScopedVariableNames ( )
getType ( )
isStatic ( )
method ( boolean $returnsReference, integer | null $accessModifier, integer | null $polymorphModifier, boolean $isStatic, string $name, array $parameterExpressions ) : self Creates a method signature with the supplied parameters.
returnsReference ( )

보호된 메소드들

메소드 설명
__construct ( $type, $returnsReference, $accessModifier, $polymorphModifier, $isStatic, $name, array $parameterExpressions, array $scopedVariableNames = null )
getParameterExpressionsFromReflection ( ReflectionFunctionAbstract $reflection )
withResolvedMagic ( array $resolvedExpressions )

비공개 메소드들

메소드 설명
getParameterExpression ( ReflectionParameter $parameter )

메소드 상세

__construct() 보호된 메소드

protected __construct ( $type, $returnsReference, $accessModifier, $polymorphModifier, $isStatic, $name, array $parameterExpressions, array $scopedVariableNames = null )
$parameterExpressions array
$scopedVariableNames array

closure() 공개 정적인 메소드

Creates a closure signature with the supplied parameters.
public static closure ( boolean $returnsReference, array $parameterExpressions, array $scopedVariableNames ) : self
$returnsReference boolean
$parameterExpressions array
$scopedVariableNames array
리턴 self

fromReflection() 공개 정적인 메소드

Creates a function signature instance from the supplied reflection.
public static fromReflection ( ReflectionFunctionAbstract $reflection ) : self
$reflection ReflectionFunctionAbstract
리턴 self

func() 공개 정적인 메소드

Creates a function signature with the supplied parameters.
public static func ( boolean $returnsReference, string $name, array $parameterExpressions ) : self
$returnsReference boolean
$name string
$parameterExpressions array
리턴 self

getAccessModifier() 공개 메소드

public getAccessModifier ( )

getHash() 공개 메소드

public getHash ( )

getName() 공개 메소드

public getName ( )

getParameterExpressions() 공개 메소드

getParameterExpressionsFromReflection() 보호된 정적인 메소드

protected static getParameterExpressionsFromReflection ( ReflectionFunctionAbstract $reflection )
$reflection ReflectionFunctionAbstract

getPolymorphModifier() 공개 메소드

getScopedVariableNames() 공개 메소드

getType() 공개 메소드

public getType ( )

isStatic() 공개 메소드

public isStatic ( )

method() 공개 정적인 메소드

Creates a method signature with the supplied parameters.
public static method ( boolean $returnsReference, integer | null $accessModifier, integer | null $polymorphModifier, boolean $isStatic, string $name, array $parameterExpressions ) : self
$returnsReference boolean
$accessModifier integer | null
$polymorphModifier integer | null
$isStatic boolean
$name string
$parameterExpressions array
리턴 self

returnsReference() 공개 메소드

public returnsReference ( )

withResolvedMagic() 보호된 메소드

protected withResolvedMagic ( array $resolvedExpressions )
$resolvedExpressions array

프로퍼티 상세

$accessModifier 보호되어 있는 프로퍼티

protected int|null $accessModifier
리턴 integer | null

$hash 보호되어 있는 프로퍼티

protected string $hash
리턴 string

$isStatic 보호되어 있는 프로퍼티

protected bool|null $isStatic
리턴 boolean | null

$name 보호되어 있는 프로퍼티

protected string $name
리턴 string

$parameterExpressions 보호되어 있는 프로퍼티

protected ParameterExpression[],Pinq\Expressions $parameterExpressions
리턴 Pinq\Expressions\ParameterExpression[]

$polymorphModifier 보호되어 있는 프로퍼티

protected int|null $polymorphModifier
리턴 integer | null

$returnsReference 보호되어 있는 프로퍼티

protected bool $returnsReference
리턴 boolean

$scopedVariableNames 보호되어 있는 프로퍼티

protected string[]|null $scopedVariableNames
리턴 string[] | null

$type 보호되어 있는 프로퍼티

protected int $type
리턴 integer