
Public Member Functions | |
| getDeclaringClass () | |
Protected Member Functions | |
| createExtendedReflectionClass (ReflectionClass $objOriginalReflectionClass) | |
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.
Definition at line 18 of file ExtendedReflectionProperty.class.php.
| 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.
| ReflectionClass | $objOriginalReflectionClass |
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
Definition at line 25 of file ExtendedReflectionProperty.class.php.
References createExtendedReflectionClass().
00026 { 00027 return $this->createExtendedReflectionClass( parent::getDeclaringClass() ); 00028 }
1.5.9