[DCOM-204] AnnotationDriver cannot find classes inside Phar files Created: 25/Jun/13 Updated: 25/Jun/13
|Reporter:||Johan Groth||Assignee:||Benjamin Eberlei|
If an application is packaged inside a Phar file, the annotation driver cannot find any classes. The problem is in the method AnnotationDriver::getAllClassNames()
$iterator will hold all paths to the files found, however realpath() will return false since the files are inside a phar file.
I have solved this locally in my application with the following, however I'm not sure if this is the right approach to solve the problem.