{"action":"created","issue":{"url":"https://api.github.com/repos/zfcampus/zf-hal/issues/99","repository_url":"https://api.github.com/repos/zfcampus/zf-hal","labels_url":"https://api.github.com/repos/zfcampus/zf-hal/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/zfcampus/zf-hal/issues/99/comments","events_url":"https://api.github.com/repos/zfcampus/zf-hal/issues/99/events","html_url":"https://github.com/zfcampus/zf-hal/pull/99","id":67152839,"number":99,"title":"Getters instead of magic __get in Hal\\Entity","user":{"login":"Wilt","id":2419627,"avatar_url":"https://avatars.githubusercontent.com/u/2419627?v=3","gravatar_id":"","url":"https://api.github.com/users/Wilt","html_url":"https://github.com/Wilt","followers_url":"https://api.github.com/users/Wilt/followers","following_url":"https://api.github.com/users/Wilt/following{/other_user}","gists_url":"https://api.github.com/users/Wilt/gists{/gist_id}","starred_url":"https://api.github.com/users/Wilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wilt/subscriptions","organizations_url":"https://api.github.com/users/Wilt/orgs","repos_url":"https://api.github.com/users/Wilt/repos","events_url":"https://api.github.com/users/Wilt/events{/privacy}","received_events_url":"https://api.github.com/users/Wilt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zfcampus/zf-hal/labels/Awaiting%20author%20response","name":"Awaiting author response","color":"e11d21"},{"url":"https://api.github.com/repos/zfcampus/zf-hal/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-08T15:15:08Z","updated_at":"2016-03-17T11:03:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zfcampus/zf-hal/pulls/99","html_url":"https://github.com/zfcampus/zf-hal/pull/99","diff_url":"https://github.com/zfcampus/zf-hal/pull/99.diff","patch_url":"https://github.com/zfcampus/zf-hal/pull/99.patch"},"body":"In the `Hal\\Collection` class the magic `__get` for collection has been deprecated and now the `getCollection` method has to be called instead.\r\nFor consistency  would it not be better to also use similar solution for the `Hal\\Entity` class.\r\nSo `getEntity` and `getId` methods\r\n\r\nThis pull request is related to https://github.com/zfcampus/zf-rest/pull/70"},"comment":{"url":"https://api.github.com/repos/zfcampus/zf-hal/issues/comments/197822035","html_url":"https://github.com/zfcampus/zf-hal/pull/99#issuecomment-197822035","issue_url":"https://api.github.com/repos/zfcampus/zf-hal/issues/99","id":197822035,"user":{"login":"Wilt","id":2419627,"avatar_url":"https://avatars.githubusercontent.com/u/2419627?v=3","gravatar_id":"","url":"https://api.github.com/users/Wilt","html_url":"https://github.com/Wilt","followers_url":"https://api.github.com/users/Wilt/followers","following_url":"https://api.github.com/users/Wilt/following{/other_user}","gists_url":"https://api.github.com/users/Wilt/gists{/gist_id}","starred_url":"https://api.github.com/users/Wilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wilt/subscriptions","organizations_url":"https://api.github.com/users/Wilt/orgs","repos_url":"https://api.github.com/users/Wilt/repos","events_url":"https://api.github.com/users/Wilt/events{/privacy}","received_events_url":"https://api.github.com/users/Wilt/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T11:03:52Z","updated_at":"2016-03-17T11:03:52Z","body":"@weierophinney I synched this branch with master. Will it still be merged?"}}