{"issue":{"state":"open","created_at":"2011-11-23T11:13:38Z","updated_at":"2011-11-23T11:23:36Z","comments":1,"user":{"gravatar_id":"02001a2051d3f035d13cd03dab93635b","id":188189,"url":"https://api.github.com/users/ncking","login":"ncking","avatar_url":"https://secure.gravatar.com/avatar/02001a2051d3f035d13cd03dab93635b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Include file by referencing DoctrineAnnotations::INIT constant so that file is included via your autoloading strategy rather than require_once.\r\nThis not only unifies Class loading to whatever autoloader implementation you use , but enables the Packaging of Doctrine core Classes into 1 file.\r\nAlso move  DoctrineAnnotations.php to reflect namespace.\r\nApart from refrencing a Class constant cant think how else you can do this, a bit hacky but better than having 2 Class loading strategies i feel. ps hope the commit is correct as first time Git user.","assignee":null,"id":2328592,"number":203,"pull_request":{"patch_url":"https://github.com/doctrine/doctrine2/pull/203.patch","html_url":"https://github.com/doctrine/doctrine2/pull/203","diff_url":"https://github.com/doctrine/doctrine2/pull/203.diff"},"labels":[],"title":"Unify Class loading & move DoctrineAnnotations.php to reflect namespace","closed_at":null,"html_url":"https://github.com/doctrine/doctrine2/issues/203","milestone":null,"url":"https://api.github.com/repos/doctrine/doctrine2/issues/203"},"action":"created","comment":{"created_at":"2011-11-23T11:23:36Z","updated_at":"2011-11-23T11:23:36Z","user":{"gravatar_id":"7894bbdf1c05b18a1444ad8c76c9d583","id":439401,"url":"https://api.github.com/users/stof","login":"stof","avatar_url":"https://secure.gravatar.com/avatar/7894bbdf1c05b18a1444ad8c76c9d583?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Moving the file is a BC break for all people registering it themselves when configuration the annotation driver by hand (for instance all Sf2 users)","id":2847523,"url":"https://api.github.com/repos/doctrine/doctrine2/issues/comments/2847523"}}