doctrine/common — pull request #152 by chx (2012-06-15 04:36:52+00:00)
Title: Added a PSR-0 Annotation Reader

You need to pass a PSR-0 include path and a class name to this class and then you can get the annotations out of it. The goal of this exercise is to converse memory as much as possible. Reflection requires the class to be loaded and can not be unloaded. Tokenizing allows for unloading. There was already groundwork for tokenizing for the use statements so I have patched the PhpParser class to allow reuse.