[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




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

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

Copyright: Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 494 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

param: AnnotationManager $annotationManager
return: AnnotationScanner

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

param: bool $includeDocComment
return: int

getDeclaringClass()   X-Ref
Get reflection of declaring class

return: ClassReflection

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

return: array

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

return: ParameterReflection[]

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

param: bool $includeDocBlock
return: string

getBody()   X-Ref
Get method body

return: string

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

param: bool $bodyOnly
return: string

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

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

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

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

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

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

toString()   X-Ref

return: string

__toString()   X-Ref

return: string

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

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

param: string $filename
return: CachingFileScanner

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1