{"action":"created","comment":{"url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/pulls/comments/23525087","id":23525087,"diff_hunk":"@@ -0,0 +1,74 @@\n+<?php\n+\n+namespace TransformCore\\Bundle\\CsrFastStreamBundle\\Persistence;\n+\n+use Doctrine\\Common\\Persistence\\ManagerRegistry;\n+use FOS\\UserBundle\\Model\\UserManagerInterface;\n+use TransformCore\\Bundle\\CsrFastStreamBundle\\Entity\\Applicant;\n+use TransformCore\\Bundle\\CsrFastStreamBundle\\Persistence\\EntityNotFoundException;\n+\n+/**\n+ * Class ApplicantsRepository\n+ * @package TransformCore\\Bundle\\CsrFastStreamBundle\\Persistence\n+ */\n+class ApplicantsRepository\n+{\n+    const ENTITY_CLASS = 'TransformCore\\Bundle\\CsrFastStreamBundle\\Entity\\Applicant';\n+\n+    /**\n+     * @var \\Doctrine\\Common\\Persistence\\ManagerRegistry\n+     */\n+    private $managerRegistry;\n+\n+    /**\n+     * @var\n+     */\n+    private $userManager;\n+\n+    /**\n+     * @param \\Doctrine\\Common\\Persistence\\ManagerRegistry $managerRegistry\n+     */","path":"src/TransformCore/Bundle/CsrFastStreamBundle/Persistence/ApplicantsRepository.php","position":30,"original_position":30,"commit_id":"7da6669e0371f0bc7d67c950e9affc753c756064","original_commit_id":"7da6669e0371f0bc7d67c950e9affc753c756064","user":{"login":"knasher","id":1300648,"avatar_url":"https://avatars.githubusercontent.com/u/1300648?v=3","gravatar_id":"","url":"https://api.github.com/users/knasher","html_url":"https://github.com/knasher","followers_url":"https://api.github.com/users/knasher/followers","following_url":"https://api.github.com/users/knasher/following{/other_user}","gists_url":"https://api.github.com/users/knasher/gists{/gist_id}","starred_url":"https://api.github.com/users/knasher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knasher/subscriptions","organizations_url":"https://api.github.com/users/knasher/orgs","repos_url":"https://api.github.com/users/knasher/repos","events_url":"https://api.github.com/users/knasher/events{/privacy}","received_events_url":"https://api.github.com/users/knasher/received_events","type":"User","site_admin":false},"body":"@param missing for $userManager","created_at":"2015-01-26T11:51:54Z","updated_at":"2015-01-26T11:51:54Z","html_url":"https://github.com/TransformCore/CSR-Fast-Stream-Domain-Model/pull/9#discussion_r23525087","pull_request_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/pulls/comments/23525087"},"html":{"href":"https://github.com/TransformCore/CSR-Fast-Stream-Domain-Model/pull/9#discussion_r23525087"},"pull_request":{"href":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/pulls/9","id":27687187,"html_url":"https://github.com/TransformCore/CSR-Fast-Stream-Domain-Model/pull/9","diff_url":"https://github.com/TransformCore/CSR-Fast-Stream-Domain-Model/pull/9.diff","patch_url":"https://github.com/TransformCore/CSR-Fast-Stream-Domain-Model/pull/9.patch","issue_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/issues/9","number":9,"state":"open","locked":false,"title":"Feature/csr 24 - Nationality, Immigration and Employment Restrictions","user":{"login":"fantasticjamieburns","id":1443443,"avatar_url":"https://avatars.githubusercontent.com/u/1443443?v=3","gravatar_id":"","url":"https://api.github.com/users/fantasticjamieburns","html_url":"https://github.com/fantasticjamieburns","followers_url":"https://api.github.com/users/fantasticjamieburns/followers","following_url":"https://api.github.com/users/fantasticjamieburns/following{/other_user}","gists_url":"https://api.github.com/users/fantasticjamieburns/gists{/gist_id}","starred_url":"https://api.github.com/users/fantasticjamieburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fantasticjamieburns/subscriptions","organizations_url":"https://api.github.com/users/fantasticjamieburns/orgs","repos_url":"https://api.github.com/users/fantasticjamieburns/repos","events_url":"https://api.github.com/users/fantasticjamieburns/events{/privacy}","received_events_url":"https://api.github.com/users/fantasticjamieburns/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-20T15:47:14Z","updated_at":"2015-01-26T11:51:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e81260140318e235e3b4e6af1189cb7a1a386c4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/pulls/9/commits","review_comments_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/pulls/9/comments","review_comment_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/pulls/comments/{number}","comments_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/issues/9/comments","statuses_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/statuses/7da6669e0371f0bc7d67c950e9affc753c756064","head":{"label":"TransformCore:feature/CSR-24","ref":"feature/CSR-24","sha":"7da6669e0371f0bc7d67c950e9affc753c756064","user":{"login":"TransformCore","id":3064052,"avatar_url":"https://avatars.githubusercontent.com/u/3064052?v=3","gravatar_id":"","url":"https://api.github.com/users/TransformCore","html_url":"https://github.com/TransformCore","followers_url":"https://api.github.com/users/TransformCore/followers","following_url":"https://api.github.com/users/TransformCore/following{/other_user}","gists_url":"https://api.github.com/users/TransformCore/gists{/gist_id}","starred_url":"https://api.github.com/users/TransformCore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TransformCore/subscriptions","organizations_url":"https://api.github.com/users/TransformCore/orgs","repos_url":"https://api.github.com/users/TransformCore/repos","events_url":"https://api.github.com/users/TransformCore/events{/privacy}","received_events_url":"https://api.github.com/users/TransformCore/received_events","type":"Organization","site_admin":false},"repo":{"id":27480510,"name":"CSR-Fast-Stream-Domain-Model","full_name":"TransformCore/CSR-Fast-Stream-Domain-Model","owner":{"login":"TransformCore","id":3064052,"avatar_url":"https://avatars.githubusercontent.com/u/3064052?v=3","gravatar_id":"","url":"https://api.github.com/users/TransformCore","html_url":"https://github.com/TransformCore","followers_url":"https://api.github.com/users/TransformCore/followers","following_url":"https://api.github.com/users/TransformCore/following{/other_user}","gists_url":"https://api.github.com/users/TransformCore/gists{/gist_id}","starred_url":"https://api.github.com/users/TransformCore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TransformCore/subscriptions","organizations_url":"https://api.github.com/users/TransformCore/orgs","repos_url":"https://api.github.com/users/TransformCore/repos","events_url":"https://api.github.com/users/TransformCore/events{/privacy}","received_events_url":"https://api.github.com/users/TransformCore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TransformCore/CSR-Fast-Stream-Domain-Model","description":"Domian model for CSR - used by both front end and back end","fork":false,"url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model","forks_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/forks","keys_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/teams","hooks_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/hooks","issue_events_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/issues/events{/number}","events_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/events","assignees_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/assignees{/user}","branches_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/branches{/branch}","tags_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/tags","blobs_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/git/refs{/sha}","trees_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/statuses/{sha}","languages_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/languages","stargazers_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/stargazers","contributors_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/contributors","subscribers_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/subscribers","subscription_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/subscription","commits_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/commits{/sha}","git_commits_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/git/commits{/sha}","comments_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/comments{/number}","issue_comment_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/issues/comments/{number}","contents_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/contents/{+path}","compare_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/merges","archive_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/downloads","issues_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/issues{/number}","pulls_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/pulls{/number}","milestones_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/milestones{/number}","notifications_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/labels{/name}","releases_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/releases{/id}","created_at":"2014-12-03T09:56:44Z","updated_at":"2015-01-14T13:51:01Z","pushed_at":"2015-01-23T16:31:21Z","git_url":"git://github.com/TransformCore/CSR-Fast-Stream-Domain-Model.git","ssh_url":"git@github.com:TransformCore/CSR-Fast-Stream-Domain-Model.git","clone_url":"https://github.com/TransformCore/CSR-Fast-Stream-Domain-Model.git","svn_url":"https://github.com/TransformCore/CSR-Fast-Stream-Domain-Model","homepage":null,"size":1584,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"TransformCore:master","ref":"master","sha":"47213022cd0e8844fda088485c8530078e2a08d1","user":{"login":"TransformCore","id":3064052,"avatar_url":"https://avatars.githubusercontent.com/u/3064052?v=3","gravatar_id":"","url":"https://api.github.com/users/TransformCore","html_url":"https://github.com/TransformCore","followers_url":"https://api.github.com/users/TransformCore/followers","following_url":"https://api.github.com/users/TransformCore/following{/other_user}","gists_url":"https://api.github.com/users/TransformCore/gists{/gist_id}","starred_url":"https://api.github.com/users/TransformCore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TransformCore/subscriptions","organizations_url":"https://api.github.com/users/TransformCore/orgs","repos_url":"https://api.github.com/users/TransformCore/repos","events_url":"https://api.github.com/users/TransformCore/events{/privacy}","received_events_url":"https://api.github.com/users/TransformCore/received_events","type":"Organization","site_admin":false},"repo":{"id":27480510,"name":"CSR-Fast-Stream-Domain-Model","full_name":"TransformCore/CSR-Fast-Stream-Domain-Model","owner":{"login":"TransformCore","id":3064052,"avatar_url":"https://avatars.githubusercontent.com/u/3064052?v=3","gravatar_id":"","url":"https://api.github.com/users/TransformCore","html_url":"https://github.com/TransformCore","followers_url":"https://api.github.com/users/TransformCore/followers","following_url":"https://api.github.com/users/TransformCore/following{/other_user}","gists_url":"https://api.github.com/users/TransformCore/gists{/gist_id}","starred_url":"https://api.github.com/users/TransformCore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TransformCore/subscriptions","organizations_url":"https://api.github.com/users/TransformCore/orgs","repos_url":"https://api.github.com/users/TransformCore/repos","events_url":"https://api.github.com/users/TransformCore/events{/privacy}","received_events_url":"https://api.github.com/users/TransformCore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TransformCore/CSR-Fast-Stream-Domain-Model","description":"Domian model for CSR - used by both front end and back end","fork":false,"url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model","forks_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/forks","keys_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/teams","hooks_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/hooks","issue_events_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/issues/events{/number}","events_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/events","assignees_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/assignees{/user}","branches_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/branches{/branch}","tags_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/tags","blobs_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/git/refs{/sha}","trees_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/statuses/{sha}","languages_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/languages","stargazers_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/stargazers","contributors_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/contributors","subscribers_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/subscribers","subscription_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/subscription","commits_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/commits{/sha}","git_commits_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/git/commits{/sha}","comments_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/comments{/number}","issue_comment_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/issues/comments/{number}","contents_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/contents/{+path}","compare_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/merges","archive_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/downloads","issues_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/issues{/number}","pulls_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/pulls{/number}","milestones_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/milestones{/number}","notifications_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/labels{/name}","releases_url":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/releases{/id}","created_at":"2014-12-03T09:56:44Z","updated_at":"2015-01-14T13:51:01Z","pushed_at":"2015-01-23T16:31:21Z","git_url":"git://github.com/TransformCore/CSR-Fast-Stream-Domain-Model.git","ssh_url":"git@github.com:TransformCore/CSR-Fast-Stream-Domain-Model.git","clone_url":"https://github.com/TransformCore/CSR-Fast-Stream-Domain-Model.git","svn_url":"https://github.com/TransformCore/CSR-Fast-Stream-Domain-Model","homepage":null,"size":1584,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/pulls/9"},"html":{"href":"https://github.com/TransformCore/CSR-Fast-Stream-Domain-Model/pull/9"},"issue":{"href":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/issues/9"},"comments":{"href":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/TransformCore/CSR-Fast-Stream-Domain-Model/statuses/7da6669e0371f0bc7d67c950e9affc753c756064"}}}}