[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch




/vendor/zendframework/zend-code/src/Reflection/ -> MethodReflection.php (summary)

Zend Framework (http://framework.zend.com/)

Copyright: Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 511 lines (15 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MethodReflection:: (15 methods):

Class: MethodReflection  - X-Ref

getDocBlock()   X-Ref
Retrieve method DocBlock reflection

return: DocBlockReflection|false

getAnnotations(AnnotationManager $annotationManager)   X-Ref

return: AnnotationScanner|false
param: AnnotationManager $annotationManager

getStartLine($includeDocComment = false)   X-Ref
Get start line (position) of method

return: int
param: bool $includeDocComment

getDeclaringClass()   X-Ref
Get reflection of declaring class

return: ClassReflection

getPrototype($format = MethodReflection::PROTOTYPE_AS_ARRAY)   X-Ref
Get method prototype

return: array|string
param: string $format

getParameters()   X-Ref
Get all method parameter reflection objects

return: ParameterReflection[]

getContents($includeDocBlock = true)   X-Ref
Get method contents

return: string
param: bool $includeDocBlock

getBody()   X-Ref
Get method body

return: string

extractMethodContents($bodyOnly = false)   X-Ref
Tokenize method string and return concatenated body

return: string
param: bool $bodyOnly

extractPrefixedWhitespace($haystack, $position)   X-Ref
Take current position and find any whitespace

return: string
param: array $haystack
param: int $position

isEndingBrace($haystack, $position)   X-Ref
Test for ending brace

return: bool
param: array $haystack
param: int $position

isValidFunction($haystack, $position, $functionName = null)   X-Ref
Test to see if current position is valid function or
closure.  Returns true if it's a function and NOT a closure

return: bool
param: array $haystack
param: int $position
param: string $functionName

toString()   X-Ref

return: string

__toString()   X-Ref

return: string

createFileScanner($filename)   X-Ref
Creates a new FileScanner instance.

By having this as a separate method it allows the method to be overridden
if a different FileScanner is needed.

return: CachingFileScanner
param: string $filename

Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1