{"action":"created","comment":{"url":"https://api.github.com/repos/SURFnet/conext-operations-support/pulls/comments/41604533","id":41604533,"diff_hunk":"@@ -36,10 +36,35 @@\n     public function __construct(array $entities)\n     {\n         foreach ($entities as $entity) {\n-            $this->initializeWith($entity);\n+            $this->add($entity);\n         }\n     }\n \n+    /**\n+     * Tests sets for equality. Note this is a O(N^2) operation.\n+     *\n+     * @param EntitySet $other\n+     * @return bool\n+     */\n+    public function equals(EntitySet $other)","path":"src/Surfnet/Conext/EntityVerificationFramework/Value/EntitySet.php","position":24,"original_position":24,"commit_id":"6f0320970ac527e6eca467a1cd1d0ec78c6835aa","original_commit_id":"6f0320970ac527e6eca467a1cd1d0ec78c6835aa","user":{"login":"rjkip","id":1734555,"avatar_url":"https://avatars.githubusercontent.com/u/1734555?v=3","gravatar_id":"","url":"https://api.github.com/users/rjkip","html_url":"https://github.com/rjkip","followers_url":"https://api.github.com/users/rjkip/followers","following_url":"https://api.github.com/users/rjkip/following{/other_user}","gists_url":"https://api.github.com/users/rjkip/gists{/gist_id}","starred_url":"https://api.github.com/users/rjkip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjkip/subscriptions","organizations_url":"https://api.github.com/users/rjkip/orgs","repos_url":"https://api.github.com/users/rjkip/repos","events_url":"https://api.github.com/users/rjkip/events{/privacy}","received_events_url":"https://api.github.com/users/rjkip/received_events","type":"User","site_admin":false},"body":"For testing :sweat_smile: https://github.com/SURFnet/conext-operations-support/blob/6f0320970ac527e6eca467a1cd1d0ec78c6835aa/src/Surfnet/Conext/EntityVerificationFramework/Tests/Value/EntitySetTest.php#L82","created_at":"2015-10-09T07:43:01Z","updated_at":"2015-10-09T07:43:01Z","html_url":"https://github.com/SURFnet/conext-operations-support/pull/21#discussion_r41604533","pull_request_url":"https://api.github.com/repos/SURFnet/conext-operations-support/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/SURFnet/conext-operations-support/pulls/comments/41604533"},"html":{"href":"https://github.com/SURFnet/conext-operations-support/pull/21#discussion_r41604533"},"pull_request":{"href":"https://api.github.com/repos/SURFnet/conext-operations-support/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/SURFnet/conext-operations-support/pulls/21","id":47157061,"html_url":"https://github.com/SURFnet/conext-operations-support/pull/21","diff_url":"https://github.com/SURFnet/conext-operations-support/pull/21.diff","patch_url":"https://github.com/SURFnet/conext-operations-support/pull/21.patch","issue_url":"https://api.github.com/repos/SURFnet/conext-operations-support/issues/21","number":21,"state":"open","locked":false,"title":"Allow a list of connections to be fetched from Janus","user":{"login":"rjkip","id":1734555,"avatar_url":"https://avatars.githubusercontent.com/u/1734555?v=3","gravatar_id":"","url":"https://api.github.com/users/rjkip","html_url":"https://github.com/rjkip","followers_url":"https://api.github.com/users/rjkip/followers","following_url":"https://api.github.com/users/rjkip/following{/other_user}","gists_url":"https://api.github.com/users/rjkip/gists{/gist_id}","starred_url":"https://api.github.com/users/rjkip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjkip/subscriptions","organizations_url":"https://api.github.com/users/rjkip/orgs","repos_url":"https://api.github.com/users/rjkip/repos","events_url":"https://api.github.com/users/rjkip/events{/privacy}","received_events_url":"https://api.github.com/users/rjkip/received_events","type":"User","site_admin":false},"body":"[![Pivotal #104881314](https://pbs.twimg.com/profile_images/378800000745740226/422314579c5a2b89852d2ba6432d7716_normal.png)](https://www.pivotaltracker.com/story/show/104881314)","created_at":"2015-10-08T14:09:15Z","updated_at":"2015-10-09T07:43:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d108e0e27933f661685266867f8e3e48bfe5bd4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SURFnet/conext-operations-support/pulls/21/commits","review_comments_url":"https://api.github.com/repos/SURFnet/conext-operations-support/pulls/21/comments","review_comment_url":"https://api.github.com/repos/SURFnet/conext-operations-support/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SURFnet/conext-operations-support/issues/21/comments","statuses_url":"https://api.github.com/repos/SURFnet/conext-operations-support/statuses/6f0320970ac527e6eca467a1cd1d0ec78c6835aa","head":{"label":"SURFnet:feature/fetch-entities-list-from-janus","ref":"feature/fetch-entities-list-from-janus","sha":"6f0320970ac527e6eca467a1cd1d0ec78c6835aa","user":{"login":"SURFnet","id":1485353,"avatar_url":"https://avatars.githubusercontent.com/u/1485353?v=3","gravatar_id":"","url":"https://api.github.com/users/SURFnet","html_url":"https://github.com/SURFnet","followers_url":"https://api.github.com/users/SURFnet/followers","following_url":"https://api.github.com/users/SURFnet/following{/other_user}","gists_url":"https://api.github.com/users/SURFnet/gists{/gist_id}","starred_url":"https://api.github.com/users/SURFnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SURFnet/subscriptions","organizations_url":"https://api.github.com/users/SURFnet/orgs","repos_url":"https://api.github.com/users/SURFnet/repos","events_url":"https://api.github.com/users/SURFnet/events{/privacy}","received_events_url":"https://api.github.com/users/SURFnet/received_events","type":"Organization","site_admin":false},"repo":{"id":42577094,"name":"conext-operations-support","full_name":"SURFnet/conext-operations-support","owner":{"login":"SURFnet","id":1485353,"avatar_url":"https://avatars.githubusercontent.com/u/1485353?v=3","gravatar_id":"","url":"https://api.github.com/users/SURFnet","html_url":"https://github.com/SURFnet","followers_url":"https://api.github.com/users/SURFnet/followers","following_url":"https://api.github.com/users/SURFnet/following{/other_user}","gists_url":"https://api.github.com/users/SURFnet/gists{/gist_id}","starred_url":"https://api.github.com/users/SURFnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SURFnet/subscriptions","organizations_url":"https://api.github.com/users/SURFnet/orgs","repos_url":"https://api.github.com/users/SURFnet/repos","events_url":"https://api.github.com/users/SURFnet/events{/privacy}","received_events_url":"https://api.github.com/users/SURFnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SURFnet/conext-operations-support","description":"","fork":false,"url":"https://api.github.com/repos/SURFnet/conext-operations-support","forks_url":"https://api.github.com/repos/SURFnet/conext-operations-support/forks","keys_url":"https://api.github.com/repos/SURFnet/conext-operations-support/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SURFnet/conext-operations-support/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SURFnet/conext-operations-support/teams","hooks_url":"https://api.github.com/repos/SURFnet/conext-operations-support/hooks","issue_events_url":"https://api.github.com/repos/SURFnet/conext-operations-support/issues/events{/number}","events_url":"https://api.github.com/repos/SURFnet/conext-operations-support/events","assignees_url":"https://api.github.com/repos/SURFnet/conext-operations-support/assignees{/user}","branches_url":"https://api.github.com/repos/SURFnet/conext-operations-support/branches{/branch}","tags_url":"https://api.github.com/repos/SURFnet/conext-operations-support/tags","blobs_url":"https://api.github.com/repos/SURFnet/conext-operations-support/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SURFnet/conext-operations-support/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SURFnet/conext-operations-support/git/refs{/sha}","trees_url":"https://api.github.com/repos/SURFnet/conext-operations-support/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SURFnet/conext-operations-support/statuses/{sha}","languages_url":"https://api.github.com/repos/SURFnet/conext-operations-support/languages","stargazers_url":"https://api.github.com/repos/SURFnet/conext-operations-support/stargazers","contributors_url":"https://api.github.com/repos/SURFnet/conext-operations-support/contributors","subscribers_url":"https://api.github.com/repos/SURFnet/conext-operations-support/subscribers","subscription_url":"https://api.github.com/repos/SURFnet/conext-operations-support/subscription","commits_url":"https://api.github.com/repos/SURFnet/conext-operations-support/commits{/sha}","git_commits_url":"https://api.github.com/repos/SURFnet/conext-operations-support/git/commits{/sha}","comments_url":"https://api.github.com/repos/SURFnet/conext-operations-support/comments{/number}","issue_comment_url":"https://api.github.com/repos/SURFnet/conext-operations-support/issues/comments{/number}","contents_url":"https://api.github.com/repos/SURFnet/conext-operations-support/contents/{+path}","compare_url":"https://api.github.com/repos/SURFnet/conext-operations-support/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SURFnet/conext-operations-support/merges","archive_url":"https://api.github.com/repos/SURFnet/conext-operations-support/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SURFnet/conext-operations-support/downloads","issues_url":"https://api.github.com/repos/SURFnet/conext-operations-support/issues{/number}","pulls_url":"https://api.github.com/repos/SURFnet/conext-operations-support/pulls{/number}","milestones_url":"https://api.github.com/repos/SURFnet/conext-operations-support/milestones{/number}","notifications_url":"https://api.github.com/repos/SURFnet/conext-operations-support/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SURFnet/conext-operations-support/labels{/name}","releases_url":"https://api.github.com/repos/SURFnet/conext-operations-support/releases{/id}","created_at":"2015-09-16T09:15:29Z","updated_at":"2015-09-18T14:31:15Z","pushed_at":"2015-10-09T07:26:51Z","git_url":"git://github.com/SURFnet/conext-operations-support.git","ssh_url":"git@github.com:SURFnet/conext-operations-support.git","clone_url":"https://github.com/SURFnet/conext-operations-support.git","svn_url":"https://github.com/SURFnet/conext-operations-support","homepage":null,"size":712,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"develop"}},"base":{"label":"SURFnet:develop","ref":"develop","sha":"907de304ca02d6255f12a7853762a557e8bfee89","user":{"login":"SURFnet","id":1485353,"avatar_url":"https://avatars.githubusercontent.com/u/1485353?v=3","gravatar_id":"","url":"https://api.github.com/users/SURFnet","html_url":"https://github.com/SURFnet","followers_url":"https://api.github.com/users/SURFnet/followers","following_url":"https://api.github.com/users/SURFnet/following{/other_user}","gists_url":"https://api.github.com/users/SURFnet/gists{/gist_id}","starred_url":"https://api.github.com/users/SURFnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SURFnet/subscriptions","organizations_url":"https://api.github.com/users/SURFnet/orgs","repos_url":"https://api.github.com/users/SURFnet/repos","events_url":"https://api.github.com/users/SURFnet/events{/privacy}","received_events_url":"https://api.github.com/users/SURFnet/received_events","type":"Organization","site_admin":false},"repo":{"id":42577094,"name":"conext-operations-support","full_name":"SURFnet/conext-operations-support","owner":{"login":"SURFnet","id":1485353,"avatar_url":"https://avatars.githubusercontent.com/u/1485353?v=3","gravatar_id":"","url":"https://api.github.com/users/SURFnet","html_url":"https://github.com/SURFnet","followers_url":"https://api.github.com/users/SURFnet/followers","following_url":"https://api.github.com/users/SURFnet/following{/other_user}","gists_url":"https://api.github.com/users/SURFnet/gists{/gist_id}","starred_url":"https://api.github.com/users/SURFnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SURFnet/subscriptions","organizations_url":"https://api.github.com/users/SURFnet/orgs","repos_url":"https://api.github.com/users/SURFnet/repos","events_url":"https://api.github.com/users/SURFnet/events{/privacy}","received_events_url":"https://api.github.com/users/SURFnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SURFnet/conext-operations-support","description":"","fork":false,"url":"https://api.github.com/repos/SURFnet/conext-operations-support","forks_url":"https://api.github.com/repos/SURFnet/conext-operations-support/forks","keys_url":"https://api.github.com/repos/SURFnet/conext-operations-support/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SURFnet/conext-operations-support/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SURFnet/conext-operations-support/teams","hooks_url":"https://api.github.com/repos/SURFnet/conext-operations-support/hooks","issue_events_url":"https://api.github.com/repos/SURFnet/conext-operations-support/issues/events{/number}","events_url":"https://api.github.com/repos/SURFnet/conext-operations-support/events","assignees_url":"https://api.github.com/repos/SURFnet/conext-operations-support/assignees{/user}","branches_url":"https://api.github.com/repos/SURFnet/conext-operations-support/branches{/branch}","tags_url":"https://api.github.com/repos/SURFnet/conext-operations-support/tags","blobs_url":"https://api.github.com/repos/SURFnet/conext-operations-support/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SURFnet/conext-operations-support/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SURFnet/conext-operations-support/git/refs{/sha}","trees_url":"https://api.github.com/repos/SURFnet/conext-operations-support/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SURFnet/conext-operations-support/statuses/{sha}","languages_url":"https://api.github.com/repos/SURFnet/conext-operations-support/languages","stargazers_url":"https://api.github.com/repos/SURFnet/conext-operations-support/stargazers","contributors_url":"https://api.github.com/repos/SURFnet/conext-operations-support/contributors","subscribers_url":"https://api.github.com/repos/SURFnet/conext-operations-support/subscribers","subscription_url":"https://api.github.com/repos/SURFnet/conext-operations-support/subscription","commits_url":"https://api.github.com/repos/SURFnet/conext-operations-support/commits{/sha}","git_commits_url":"https://api.github.com/repos/SURFnet/conext-operations-support/git/commits{/sha}","comments_url":"https://api.github.com/repos/SURFnet/conext-operations-support/comments{/number}","issue_comment_url":"https://api.github.com/repos/SURFnet/conext-operations-support/issues/comments{/number}","contents_url":"https://api.github.com/repos/SURFnet/conext-operations-support/contents/{+path}","compare_url":"https://api.github.com/repos/SURFnet/conext-operations-support/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SURFnet/conext-operations-support/merges","archive_url":"https://api.github.com/repos/SURFnet/conext-operations-support/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SURFnet/conext-operations-support/downloads","issues_url":"https://api.github.com/repos/SURFnet/conext-operations-support/issues{/number}","pulls_url":"https://api.github.com/repos/SURFnet/conext-operations-support/pulls{/number}","milestones_url":"https://api.github.com/repos/SURFnet/conext-operations-support/milestones{/number}","notifications_url":"https://api.github.com/repos/SURFnet/conext-operations-support/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SURFnet/conext-operations-support/labels{/name}","releases_url":"https://api.github.com/repos/SURFnet/conext-operations-support/releases{/id}","created_at":"2015-09-16T09:15:29Z","updated_at":"2015-09-18T14:31:15Z","pushed_at":"2015-10-09T07:26:51Z","git_url":"git://github.com/SURFnet/conext-operations-support.git","ssh_url":"git@github.com:SURFnet/conext-operations-support.git","clone_url":"https://github.com/SURFnet/conext-operations-support.git","svn_url":"https://github.com/SURFnet/conext-operations-support","homepage":null,"size":712,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/SURFnet/conext-operations-support/pulls/21"},"html":{"href":"https://github.com/SURFnet/conext-operations-support/pull/21"},"issue":{"href":"https://api.github.com/repos/SURFnet/conext-operations-support/issues/21"},"comments":{"href":"https://api.github.com/repos/SURFnet/conext-operations-support/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/SURFnet/conext-operations-support/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/SURFnet/conext-operations-support/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SURFnet/conext-operations-support/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/SURFnet/conext-operations-support/statuses/6f0320970ac527e6eca467a1cd1d0ec78c6835aa"}}}}