TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Extbase\Reflection\MethodReflection Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Reflection\MethodReflection:

Public Member Functions

 getDeclaringClass ()
 
 getParameters ()
 
 isTaggedWith ($tag)
 
 getTagsValues ()
 
 getTagValues ($tag)
 
 getDescription ()
 

Protected Member Functions

 getDocCommentParser ()
 

Protected Attributes

 $docCommentParser
 

Detailed Description

Extended version of the ReflectionMethod

Definition at line 20 of file MethodReflection.php.

Member Function Documentation

◆ getDeclaringClass()

TYPO3\CMS\Extbase\Reflection\MethodReflection::getDeclaringClass ( )

Returns the declaring class

Returns
ClassReflection The declaring class

Definition at line 32 of file MethodReflection.php.

Referenced by TYPO3\CMS\Extbase\Reflection\MethodReflection\getParameters().

◆ getDescription()

TYPO3\CMS\Extbase\Reflection\MethodReflection::getDescription ( )

Returns the description part of the doc comment

Returns
string Doc comment description

Definition at line 92 of file MethodReflection.php.

References TYPO3\CMS\Extbase\Reflection\MethodReflection\getDocCommentParser().

◆ getDocCommentParser()

TYPO3\CMS\Extbase\Reflection\MethodReflection::getDocCommentParser ( )
protected

◆ getParameters()

TYPO3\CMS\Extbase\Reflection\MethodReflection::getParameters ( )

Replacement for the original getParameters() method which makes sure that objects are returned instead of the original ReflectionParameter instances.

Returns
ParameterReflection[] Parameter reflection objects of the parameters of this method

Definition at line 44 of file MethodReflection.php.

References TYPO3\CMS\Extbase\Reflection\MethodReflection\getDeclaringClass().

◆ getTagsValues()

TYPO3\CMS\Extbase\Reflection\MethodReflection::getTagsValues ( )

Returns an array of tags and their values

Returns
array Tags and values

Definition at line 71 of file MethodReflection.php.

References TYPO3\CMS\Extbase\Reflection\MethodReflection\getDocCommentParser().

◆ getTagValues()

TYPO3\CMS\Extbase\Reflection\MethodReflection::getTagValues (   $tag)

Returns the values of the specified tag

Parameters
string$tagTag name to check for
Returns
array Values of the given tag

Definition at line 82 of file MethodReflection.php.

References TYPO3\CMS\Extbase\Reflection\MethodReflection\getDocCommentParser().

◆ isTaggedWith()

TYPO3\CMS\Extbase\Reflection\MethodReflection::isTaggedWith (   $tag)

Checks if the doc comment of this method is tagged with the specified tag

Parameters
string$tagTag name to check for
Returns
bool TRUE if such a tag has been defined, otherwise FALSE

Definition at line 60 of file MethodReflection.php.

References TYPO3\CMS\Extbase\Reflection\MethodReflection\getDocCommentParser().

Member Data Documentation

◆ $docCommentParser

TYPO3\CMS\Extbase\Reflection\MethodReflection::$docCommentParser
protected