ExtendedReflectionProperty Class Reference

Inheritance diagram for ExtendedReflectionProperty:

ReflectionProperty CodeReflectionProperty CodeInstrumentationProperty

List of all members.

Public Member Functions

 getDeclaringClass ()

Protected Member Functions

 createExtendedReflectionClass (ReflectionClass $objOriginalReflectionClass)


Detailed Description

Class what make possible and easy extend reflection property

Reflection classes can be a problem because the reflection methods what return objects will return the original reflection object and not the extended version of it. So it is necessary to create methods what convert the original methods to return the extended version of the objects.

Author:
Thiago Henrique Ramos da Mata <thiago.henrique.mata@gmail.com>

Definition at line 18 of file ExtendedReflectionProperty.class.php.


Member Function Documentation

createExtendedReflectionClass ( ReflectionClass objOriginalReflectionClass  )  [protected]

Convert a reflection class into a extended reflection class

This is the method what should be replaced when this class be extended.

Parameters:
ReflectionClass $objOriginalReflectionClass
Returns:
ExtendedReflectionClass

Reimplemented in CodeInstrumentationProperty, and CodeReflectionProperty.

Definition at line 39 of file ExtendedReflectionProperty.class.php.

Referenced by getDeclaringClass().

00040         {
00041                 return new ExtendedReflectionClass( $objOriginalReflectionClass->getName() );
00042         }

getDeclaringClass (  )  [final]

Get the class owner of the reflected parameter

Returns:
ExtendedReflectionClass

Definition at line 25 of file ExtendedReflectionProperty.class.php.

References createExtendedReflectionClass().

00026     {
00027         return $this->createExtendedReflectionClass( parent::getDeclaringClass() );
00028     }


The documentation for this class was generated from the following file:

Generated on Thu Feb 3 03:55:03 2011 for CodeToDiagram by  doxygen 1.5.9