[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/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):
  getDocBlock()
  getAnnotations()
  getStartLine()
  getDeclaringClass()
  getPrototype()
  getParameters()
  getContents()
  getBody()
  extractMethodContents()
  extractPrefixedWhitespace()
  isEndingBrace()
  isValidFunction()
  toString()
  __toString()
  createFileScanner()


Class: MethodReflection  - X-Ref

getDocBlock()   X-Ref
Retrieve method DocBlock reflection

return: DocBlockReflection|false

getAnnotations(AnnotationManager $annotationManager)   X-Ref

param: AnnotationManager $annotationManager
return: AnnotationScanner|false

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

param: string $format
return: array|string

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 separate method it allows the method to be overridden
if a different FileScanner is needed.

param: string $filename
return: CachingFileScanner



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1