{"action":"created","comment":{"url":"https://api.github.com/repos/doctrine/doctrine2/pulls/comments/22890994","id":22890994,"diff_hunk":"@@ -91,6 +92,22 @@ protected function initialize()\n     /**\n      * {@inheritDoc}","path":"lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php","position":19,"original_position":19,"commit_id":"d712ad97a5b36954224111095946ee7818ab1c7b","original_commit_id":"d712ad97a5b36954224111095946ee7818ab1c7b","user":{"login":"deeky666","id":1411514,"avatar_url":"https://avatars.githubusercontent.com/u/1411514?v=3","gravatar_id":"","url":"https://api.github.com/users/deeky666","html_url":"https://github.com/deeky666","followers_url":"https://api.github.com/users/deeky666/followers","following_url":"https://api.github.com/users/deeky666/following{/other_user}","gists_url":"https://api.github.com/users/deeky666/gists{/gist_id}","starred_url":"https://api.github.com/users/deeky666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deeky666/subscriptions","organizations_url":"https://api.github.com/users/deeky666/orgs","repos_url":"https://api.github.com/users/deeky666/repos","events_url":"https://api.github.com/users/deeky666/events{/privacy}","received_events_url":"https://api.github.com/users/deeky666/received_events","type":"User","site_admin":false},"body":"There is no parent method here as far as I can see. Can you provide a descriptive DocBlock?","created_at":"2015-01-13T20:15:05Z","updated_at":"2015-01-13T20:15:05Z","html_url":"https://github.com/doctrine/doctrine2/pull/1181#discussion_r22890994","pull_request_url":"https://api.github.com/repos/doctrine/doctrine2/pulls/1181","_links":{"self":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/comments/22890994"},"html":{"href":"https://github.com/doctrine/doctrine2/pull/1181#discussion_r22890994"},"pull_request":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/1181"}}},"pull_request":{"url":"https://api.github.com/repos/doctrine/doctrine2/pulls/1181","id":24224038,"html_url":"https://github.com/doctrine/doctrine2/pull/1181","diff_url":"https://github.com/doctrine/doctrine2/pull/1181.diff","patch_url":"https://github.com/doctrine/doctrine2/pull/1181.patch","issue_url":"https://api.github.com/repos/doctrine/doctrine2/issues/1181","number":1181,"state":"open","locked":false,"title":"Support fetching entities by aliased name","user":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars.githubusercontent.com/u/154256?v=3","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"body":"See #385 (this PR supersedes it)\r\n\r\nThe final aim is allowing something like:\r\n\r\n```php\r\n$user = $em->find(UserInterface::class, 123);\r\n```\r\n\r\nThis PR depends also on doctrine/common#342","created_at":"2014-11-11T14:55:22Z","updated_at":"2015-01-13T20:15:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a4615dddd5fe29c73d3de7cdaa081aec5bc1e7c","assignee":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars.githubusercontent.com/u/154256?v=3","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/doctrine/doctrine2/pulls/1181/commits","review_comments_url":"https://api.github.com/repos/doctrine/doctrine2/pulls/1181/comments","review_comment_url":"https://api.github.com/repos/doctrine/doctrine2/pulls/comments/{number}","comments_url":"https://api.github.com/repos/doctrine/doctrine2/issues/1181/comments","statuses_url":"https://api.github.com/repos/doctrine/doctrine2/statuses/d712ad97a5b36954224111095946ee7818ab1c7b","head":{"label":"Ocramius:feature/#385-support-fetching-entities-by-aliased-name","ref":"feature/#385-support-fetching-entities-by-aliased-name","sha":"d712ad97a5b36954224111095946ee7818ab1c7b","user":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars.githubusercontent.com/u/154256?v=3","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"repo":{"id":1407206,"name":"doctrine2","full_name":"Ocramius/doctrine2","owner":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars.githubusercontent.com/u/154256?v=3","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ocramius/doctrine2","description":"Doctrine 2 Object Relational Mapper","fork":true,"url":"https://api.github.com/repos/Ocramius/doctrine2","forks_url":"https://api.github.com/repos/Ocramius/doctrine2/forks","keys_url":"https://api.github.com/repos/Ocramius/doctrine2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ocramius/doctrine2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ocramius/doctrine2/teams","hooks_url":"https://api.github.com/repos/Ocramius/doctrine2/hooks","issue_events_url":"https://api.github.com/repos/Ocramius/doctrine2/issues/events{/number}","events_url":"https://api.github.com/repos/Ocramius/doctrine2/events","assignees_url":"https://api.github.com/repos/Ocramius/doctrine2/assignees{/user}","branches_url":"https://api.github.com/repos/Ocramius/doctrine2/branches{/branch}","tags_url":"https://api.github.com/repos/Ocramius/doctrine2/tags","blobs_url":"https://api.github.com/repos/Ocramius/doctrine2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ocramius/doctrine2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ocramius/doctrine2/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ocramius/doctrine2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ocramius/doctrine2/statuses/{sha}","languages_url":"https://api.github.com/repos/Ocramius/doctrine2/languages","stargazers_url":"https://api.github.com/repos/Ocramius/doctrine2/stargazers","contributors_url":"https://api.github.com/repos/Ocramius/doctrine2/contributors","subscribers_url":"https://api.github.com/repos/Ocramius/doctrine2/subscribers","subscription_url":"https://api.github.com/repos/Ocramius/doctrine2/subscription","commits_url":"https://api.github.com/repos/Ocramius/doctrine2/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ocramius/doctrine2/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ocramius/doctrine2/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ocramius/doctrine2/issues/comments/{number}","contents_url":"https://api.github.com/repos/Ocramius/doctrine2/contents/{+path}","compare_url":"https://api.github.com/repos/Ocramius/doctrine2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ocramius/doctrine2/merges","archive_url":"https://api.github.com/repos/Ocramius/doctrine2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ocramius/doctrine2/downloads","issues_url":"https://api.github.com/repos/Ocramius/doctrine2/issues{/number}","pulls_url":"https://api.github.com/repos/Ocramius/doctrine2/pulls{/number}","milestones_url":"https://api.github.com/repos/Ocramius/doctrine2/milestones{/number}","notifications_url":"https://api.github.com/repos/Ocramius/doctrine2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ocramius/doctrine2/labels{/name}","releases_url":"https://api.github.com/repos/Ocramius/doctrine2/releases{/id}","created_at":"2011-02-24T16:05:45Z","updated_at":"2014-05-15T16:24:03Z","pushed_at":"2015-01-13T20:05:09Z","git_url":"git://github.com/Ocramius/doctrine2.git","ssh_url":"git@github.com:Ocramius/doctrine2.git","clone_url":"https://github.com/Ocramius/doctrine2.git","svn_url":"https://github.com/Ocramius/doctrine2","homepage":"http://www.doctrine-project.org","size":24345,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"doctrine:master","ref":"master","sha":"9c3cb579313ae01cdd3467b9f89fc15e9677b46c","user":{"login":"doctrine","id":209254,"avatar_url":"https://avatars.githubusercontent.com/u/209254?v=3","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"repo":{"id":597887,"name":"doctrine2","full_name":"doctrine/doctrine2","owner":{"login":"doctrine","id":209254,"avatar_url":"https://avatars.githubusercontent.com/u/209254?v=3","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/doctrine/doctrine2","description":"Doctrine 2 Object Relational Mapper (ORM)","fork":false,"url":"https://api.github.com/repos/doctrine/doctrine2","forks_url":"https://api.github.com/repos/doctrine/doctrine2/forks","keys_url":"https://api.github.com/repos/doctrine/doctrine2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doctrine/doctrine2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doctrine/doctrine2/teams","hooks_url":"https://api.github.com/repos/doctrine/doctrine2/hooks","issue_events_url":"https://api.github.com/repos/doctrine/doctrine2/issues/events{/number}","events_url":"https://api.github.com/repos/doctrine/doctrine2/events","assignees_url":"https://api.github.com/repos/doctrine/doctrine2/assignees{/user}","branches_url":"https://api.github.com/repos/doctrine/doctrine2/branches{/branch}","tags_url":"https://api.github.com/repos/doctrine/doctrine2/tags","blobs_url":"https://api.github.com/repos/doctrine/doctrine2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doctrine/doctrine2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doctrine/doctrine2/git/refs{/sha}","trees_url":"https://api.github.com/repos/doctrine/doctrine2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doctrine/doctrine2/statuses/{sha}","languages_url":"https://api.github.com/repos/doctrine/doctrine2/languages","stargazers_url":"https://api.github.com/repos/doctrine/doctrine2/stargazers","contributors_url":"https://api.github.com/repos/doctrine/doctrine2/contributors","subscribers_url":"https://api.github.com/repos/doctrine/doctrine2/subscribers","subscription_url":"https://api.github.com/repos/doctrine/doctrine2/subscription","commits_url":"https://api.github.com/repos/doctrine/doctrine2/commits{/sha}","git_commits_url":"https://api.github.com/repos/doctrine/doctrine2/git/commits{/sha}","comments_url":"https://api.github.com/repos/doctrine/doctrine2/comments{/number}","issue_comment_url":"https://api.github.com/repos/doctrine/doctrine2/issues/comments/{number}","contents_url":"https://api.github.com/repos/doctrine/doctrine2/contents/{+path}","compare_url":"https://api.github.com/repos/doctrine/doctrine2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doctrine/doctrine2/merges","archive_url":"https://api.github.com/repos/doctrine/doctrine2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doctrine/doctrine2/downloads","issues_url":"https://api.github.com/repos/doctrine/doctrine2/issues{/number}","pulls_url":"https://api.github.com/repos/doctrine/doctrine2/pulls{/number}","milestones_url":"https://api.github.com/repos/doctrine/doctrine2/milestones{/number}","notifications_url":"https://api.github.com/repos/doctrine/doctrine2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doctrine/doctrine2/labels{/name}","releases_url":"https://api.github.com/repos/doctrine/doctrine2/releases{/id}","created_at":"2010-04-06T21:42:59Z","updated_at":"2015-01-13T14:06:01Z","pushed_at":"2015-01-13T17:55:41Z","git_url":"git://github.com/doctrine/doctrine2.git","ssh_url":"git@github.com:doctrine/doctrine2.git","clone_url":"https://github.com/doctrine/doctrine2.git","svn_url":"https://github.com/doctrine/doctrine2","homepage":"http://www.doctrine-project.org","size":40114,"stargazers_count":2399,"watchers_count":2399,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1172,"mirror_url":null,"open_issues_count":57,"forks":1172,"open_issues":57,"watchers":2399,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/1181"},"html":{"href":"https://github.com/doctrine/doctrine2/pull/1181"},"issue":{"href":"https://api.github.com/repos/doctrine/doctrine2/issues/1181"},"comments":{"href":"https://api.github.com/repos/doctrine/doctrine2/issues/1181/comments"},"review_comments":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/1181/comments"},"review_comment":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/1181/commits"},"statuses":{"href":"https://api.github.com/repos/doctrine/doctrine2/statuses/d712ad97a5b36954224111095946ee7818ab1c7b"}}}}