You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
It looks like FileReflection uses token_get_all(file_get_contents($file)) to actually scan the file, so I am a little lost by the requirement of includeing it.
I am trying to fix some PHP classes programmatically, all of which have the same class name in the global namespace. To do this I was planning to reflect the files, get the class reflection, and instantiate the class generator from that to make my changes. Of course, since reflecting the file requires including it, I cannot do this right now, as it would have to re-declare the classes.
'File %s must be required before it can be reflected',
RSully
changed the title
Use Zend\Code\Reflection\FileReflection without including file?
Use Reflection\FileReflection without including file?
Jun 27, 2016
From zendframework/zendframework#6860 which was just closed:
/cc @sasezaki @adamlundrigan who had activity on previous issue
The text was updated successfully, but these errors were encountered: