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

Public Member Functions

 getMethods ($filter=null)
 
 getMethod ($name)
 
 getConstructor ()
 
 getProperties ($filter=null)
 
 getProperty ($name)
 
 getInterfaces ()
 
 getParentClass ()
 
 isTaggedWith ($tag)
 
 getTagsValues ()
 
 getTagValues ($tag)
 

Protected Member Functions

 getDocCommentParser ()
 

Protected Attributes

 $docCommentParser
 

Detailed Description

Extended version of the ReflectionClass

Definition at line 20 of file ClassReflection.php.

Member Function Documentation

◆ getConstructor()

TYPO3\CMS\Extbase\Reflection\ClassReflection::getConstructor ( )

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

Returns
MethodReflection Method reflection object of the constructor method

Definition at line 69 of file ClassReflection.php.

◆ getDocCommentParser()

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

◆ getInterfaces()

TYPO3\CMS\Extbase\Reflection\ClassReflection::getInterfaces ( )

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

Returns
ClassReflection[] Class reflection objects of the properties in this class

Definition at line 116 of file ClassReflection.php.

◆ getMethod()

TYPO3\CMS\Extbase\Reflection\ClassReflection::getMethod (   $name)

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

Parameters
string$name
Returns
MethodReflection Method reflection object of the named method

Definition at line 53 of file ClassReflection.php.

◆ getMethods()

TYPO3\CMS\Extbase\Reflection\ClassReflection::getMethods (   $filter = null)

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

Parameters
int | NULL$filterA filter mask
Returns
MethodReflection[] Method reflection objects of the methods in this class

Definition at line 35 of file ClassReflection.php.

◆ getParentClass()

TYPO3\CMS\Extbase\Reflection\ClassReflection::getParentClass ( )

Replacement for the original getParentClass() method which makes sure that a object is returned instead of the original ReflectionClass instance.

Returns
ClassReflection Reflection of the parent class - if any

Definition at line 133 of file ClassReflection.php.

◆ getProperties()

TYPO3\CMS\Extbase\Reflection\ClassReflection::getProperties (   $filter = null)

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

Parameters
int | NULL$filterA filter mask
Returns
PropertyReflection[] Property reflection objects of the properties in this class

Definition at line 86 of file ClassReflection.php.

◆ getProperty()

TYPO3\CMS\Extbase\Reflection\ClassReflection::getProperty (   $name)

Replacement for the original getProperty() method which makes sure that a object is returned instead of the original ReflectionProperty instance.

Parameters
string$nameName of the property
Returns
PropertyReflection Property reflection object of the specified property in this class

Definition at line 104 of file ClassReflection.php.

◆ getTagsValues()

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

Returns an array of tags and their values

Returns
array Tags and values

Definition at line 157 of file ClassReflection.php.

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

◆ getTagValues()

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

Returns the values of the specified tag

Parameters
string$tag
Returns
array Values of the given tag

Definition at line 168 of file ClassReflection.php.

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

◆ isTaggedWith()

TYPO3\CMS\Extbase\Reflection\ClassReflection::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 146 of file ClassReflection.php.

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

Member Data Documentation

◆ $docCommentParser

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