Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.2
-
Component/s: None
-
Labels:None
Description
The Reflection code in ClassMetadata(Info*)s is getting out of control.
I want to remove the dependency by introducing a ReflectionService interface:
interface ReflectionService { public function getClassShortName($class); public function getClassNamespace($class); public function getClass($class); public function getAccessibleProperty($class, $property); public function hasPublicMethod($class, $method); }
The reflection methods are specifically allowed to return NULL, so that we can create a StaticReflectionService that works without the classes actually existing.
Issue Links
- is referenced by
-
DDC-1577
Remove static Reflection dependency from ClassMetadata
-
Implemented