Closed TobiasHauck closed 8 years ago
Fixes #32 Annotations registered too late
The registerFile function of Doctrine's AnnotationRegistry class just calls require_once $file. So to "add" an annotation correctly to Doctrine we just need to autoload the class by using composer's "file" section. This is what I've done.
Fixes #32 Annotations registered too late
Proposed Changes
The registerFile function of Doctrine's AnnotationRegistry class just calls require_once $file. So to "add" an annotation correctly to Doctrine we just need to autoload the class by using composer's "file" section. This is what I've done.