__construct()
__toString()
export()
getAnnotations()
getBody()
getClosure()
getClosureScopeClass()
getClosureThis()
getContents()
getDeclaringClass()
getDocBlock()
getDocComment()
getEndLine()
getExtension()
getExtensionName()
getFileName()
getModifiers()
getName()
getNamespaceName()
getNumberOfParameters()
getNumberOfRequiredParameters()
getParameters()
getPrototype()
getShortName()
getStartLine()
getStaticVariables()
inNamespace()
invoke()
invokeArgs()
isAbstract()
isClosure()
isConstructor()
isDeprecated()
isDestructor()
isFinal()
isGenerator()
isInternal()
isPrivate()
isProtected()
isPublic()
isStatic()
isUserDefined()
returnsReference()
setAccessible()
toString()
createFileScanner()
extractMethodContents()
extractPrefixedWhitespace()
isEndingBrace()
isValidFunction()
$annotations
PROTOTYPE_AS_ARRAY
PROTOTYPE_AS_STRING
__construct()
inherited_from | ReflectionMethod::__construct() |
---|
__toString() : string
string
export()
inherited_from | ReflectionMethod::export() |
---|
getAnnotations(\Zend\Code\Annotation\AnnotationManager $annotationManager) : \Zend\Code\Scanner\AnnotationScanner
getBody() : string
string
getClosure()
inherited_from | ReflectionMethod::getClosure() |
---|
getClosureScopeClass()
inherited_from | ReflectionFunctionAbstract::getClosureScopeClass() |
---|
getClosureThis()
inherited_from | ReflectionFunctionAbstract::getClosureThis() |
---|
getContents(bool $includeDocBlock) : string
bool
string
getDeclaringClass() : \Zend\Code\Reflection\ClassReflection
getDocBlock() : \Zend\Code\Reflection\DocBlockReflection | false
getDocComment()
inherited_from | ReflectionFunctionAbstract::getDocComment() |
---|
getEndLine()
inherited_from | ReflectionFunctionAbstract::getEndLine() |
---|
getExtension()
inherited_from | ReflectionFunctionAbstract::getExtension() |
---|
getExtensionName()
inherited_from | ReflectionFunctionAbstract::getExtensionName() |
---|
getFileName()
inherited_from | ReflectionFunctionAbstract::getFileName() |
---|
getModifiers()
inherited_from | ReflectionMethod::getModifiers() |
---|
getName()
inherited_from | ReflectionFunctionAbstract::getName() |
---|
getNamespaceName()
inherited_from | ReflectionFunctionAbstract::getNamespaceName() |
---|
getNumberOfParameters()
inherited_from | ReflectionFunctionAbstract::getNumberOfParameters() |
---|
getNumberOfRequiredParameters()
inherited_from | ReflectionFunctionAbstract::getNumberOfRequiredParameters() |
---|
getParameters() : \Zend\Code\Reflection\ParameterReflection[]
getPrototype($format) : array
array
getShortName()
inherited_from | ReflectionFunctionAbstract::getShortName() |
---|
getStartLine(bool $includeDocComment) : int
bool
int
getStaticVariables()
inherited_from | ReflectionFunctionAbstract::getStaticVariables() |
---|
inNamespace()
inherited_from | ReflectionFunctionAbstract::inNamespace() |
---|
invoke()
inherited_from | ReflectionMethod::invoke() |
---|
invokeArgs()
inherited_from | ReflectionMethod::invokeArgs() |
---|
isAbstract()
inherited_from | ReflectionMethod::isAbstract() |
---|
isClosure()
inherited_from | ReflectionFunctionAbstract::isClosure() |
---|
isConstructor()
inherited_from | ReflectionMethod::isConstructor() |
---|
isDeprecated()
inherited_from | ReflectionFunctionAbstract::isDeprecated() |
---|
isDestructor()
inherited_from | ReflectionMethod::isDestructor() |
---|
isFinal()
inherited_from | ReflectionMethod::isFinal() |
---|
isGenerator()
inherited_from | ReflectionFunctionAbstract::isGenerator() |
---|
isInternal()
inherited_from | ReflectionFunctionAbstract::isInternal() |
---|
isPrivate()
inherited_from | ReflectionMethod::isPrivate() |
---|
isProtected()
inherited_from | ReflectionMethod::isProtected() |
---|
isPublic()
inherited_from | ReflectionMethod::isPublic() |
---|
isStatic()
inherited_from | ReflectionMethod::isStatic() |
---|
isUserDefined()
inherited_from | ReflectionFunctionAbstract::isUserDefined() |
---|
returnsReference()
inherited_from | ReflectionFunctionAbstract::returnsReference() |
---|
setAccessible()
inherited_from | ReflectionMethod::setAccessible() |
---|
toString() : string
string
createFileScanner(string $filename) : \Zend\Code\Scanner\CachingFileScanner
By having this as a seperate method it allows the method to be overridden if a different FileScanner is needed.
string
extractMethodContents(bool $bodyOnly) : string
bool
string
extractPrefixedWhitespace(array $haystack, int $position) : string
array
int
string
isEndingBrace(array $haystack, int $position) : bool
array
int
bool
isValidFunction(array $haystack, int $position, string $functionName) : bool
Returns true if it's a function and NOT a closure
array
int
string
bool
PROTOTYPE_AS_ARRAY
PROTOTYPE_AS_STRING