{"action":"created","comment":{"url":"https://api.github.com/repos/php-in-practice/matters-aggregate/pulls/comments/46680273","id":46680273,"diff_hunk":"@@ -0,0 +1,9 @@\n+<?php\n+\n+namespace PhpInPractice\\Matters\\Aggregate;\n+\n+interface Transaction\n+{\n+    public function push($streamUri, array $writeableEvents);\n+    public function flush();","path":"src/Transaction.php","position":8,"original_position":8,"commit_id":"c0b0846ac8fa13fe1ed805cdd96711efa271b469","original_commit_id":"c0b0846ac8fa13fe1ed805cdd96711efa271b469","user":{"login":"fvdb","id":25526,"avatar_url":"https://avatars.githubusercontent.com/u/25526?v=3","gravatar_id":"","url":"https://api.github.com/users/fvdb","html_url":"https://github.com/fvdb","followers_url":"https://api.github.com/users/fvdb/followers","following_url":"https://api.github.com/users/fvdb/following{/other_user}","gists_url":"https://api.github.com/users/fvdb/gists{/gist_id}","starred_url":"https://api.github.com/users/fvdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvdb/subscriptions","organizations_url":"https://api.github.com/users/fvdb/orgs","repos_url":"https://api.github.com/users/fvdb/repos","events_url":"https://api.github.com/users/fvdb/events{/privacy}","received_events_url":"https://api.github.com/users/fvdb/received_events","type":"User","site_admin":false},"body":"Usually the term \"commit\" is used to to commit a transaction","created_at":"2015-12-04T13:17:30Z","updated_at":"2015-12-04T13:17:30Z","html_url":"https://github.com/php-in-practice/matters-aggregate/pull/1#discussion_r46680273","pull_request_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/php-in-practice/matters-aggregate/pulls/comments/46680273"},"html":{"href":"https://github.com/php-in-practice/matters-aggregate/pull/1#discussion_r46680273"},"pull_request":{"href":"https://api.github.com/repos/php-in-practice/matters-aggregate/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/php-in-practice/matters-aggregate/pulls/1","id":52667499,"html_url":"https://github.com/php-in-practice/matters-aggregate/pull/1","diff_url":"https://github.com/php-in-practice/matters-aggregate/pull/1.diff","patch_url":"https://github.com/php-in-practice/matters-aggregate/pull/1.patch","issue_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/issues/1","number":1,"state":"open","locked":false,"title":"Add Transaction Support","user":{"login":"mvriel","id":193704,"avatar_url":"https://avatars.githubusercontent.com/u/193704?v=3","gravatar_id":"","url":"https://api.github.com/users/mvriel","html_url":"https://github.com/mvriel","followers_url":"https://api.github.com/users/mvriel/followers","following_url":"https://api.github.com/users/mvriel/following{/other_user}","gists_url":"https://api.github.com/users/mvriel/gists{/gist_id}","starred_url":"https://api.github.com/users/mvriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvriel/subscriptions","organizations_url":"https://api.github.com/users/mvriel/orgs","repos_url":"https://api.github.com/users/mvriel/repos","events_url":"https://api.github.com/users/mvriel/events{/privacy}","received_events_url":"https://api.github.com/users/mvriel/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-12-04T13:13:44Z","updated_at":"2015-12-04T13:17:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59ab3e4e2dd0df87fcaa033f07a42b8a93f9b4fc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/pulls/1/commits","review_comments_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/pulls/1/comments","review_comment_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/issues/1/comments","statuses_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/statuses/c0b0846ac8fa13fe1ed805cdd96711efa271b469","head":{"label":"php-in-practice:add-transaction-support","ref":"add-transaction-support","sha":"c0b0846ac8fa13fe1ed805cdd96711efa271b469","user":{"login":"php-in-practice","id":10670077,"avatar_url":"https://avatars.githubusercontent.com/u/10670077?v=3","gravatar_id":"","url":"https://api.github.com/users/php-in-practice","html_url":"https://github.com/php-in-practice","followers_url":"https://api.github.com/users/php-in-practice/followers","following_url":"https://api.github.com/users/php-in-practice/following{/other_user}","gists_url":"https://api.github.com/users/php-in-practice/gists{/gist_id}","starred_url":"https://api.github.com/users/php-in-practice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-in-practice/subscriptions","organizations_url":"https://api.github.com/users/php-in-practice/orgs","repos_url":"https://api.github.com/users/php-in-practice/repos","events_url":"https://api.github.com/users/php-in-practice/events{/privacy}","received_events_url":"https://api.github.com/users/php-in-practice/received_events","type":"Organization","site_admin":false},"repo":{"id":47396623,"name":"matters-aggregate","full_name":"php-in-practice/matters-aggregate","owner":{"login":"php-in-practice","id":10670077,"avatar_url":"https://avatars.githubusercontent.com/u/10670077?v=3","gravatar_id":"","url":"https://api.github.com/users/php-in-practice","html_url":"https://github.com/php-in-practice","followers_url":"https://api.github.com/users/php-in-practice/followers","following_url":"https://api.github.com/users/php-in-practice/following{/other_user}","gists_url":"https://api.github.com/users/php-in-practice/gists{/gist_id}","starred_url":"https://api.github.com/users/php-in-practice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-in-practice/subscriptions","organizations_url":"https://api.github.com/users/php-in-practice/orgs","repos_url":"https://api.github.com/users/php-in-practice/repos","events_url":"https://api.github.com/users/php-in-practice/events{/privacy}","received_events_url":"https://api.github.com/users/php-in-practice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/php-in-practice/matters-aggregate","description":"","fork":false,"url":"https://api.github.com/repos/php-in-practice/matters-aggregate","forks_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/forks","keys_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/teams","hooks_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/hooks","issue_events_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/issues/events{/number}","events_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/events","assignees_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/assignees{/user}","branches_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/branches{/branch}","tags_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/tags","blobs_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/git/refs{/sha}","trees_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/statuses/{sha}","languages_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/languages","stargazers_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/stargazers","contributors_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/contributors","subscribers_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/subscribers","subscription_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/subscription","commits_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/commits{/sha}","git_commits_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/git/commits{/sha}","comments_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/comments{/number}","issue_comment_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/issues/comments{/number}","contents_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/contents/{+path}","compare_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/merges","archive_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/downloads","issues_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/issues{/number}","pulls_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/pulls{/number}","milestones_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/milestones{/number}","notifications_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/labels{/name}","releases_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/releases{/id}","created_at":"2015-12-04T10:11:45Z","updated_at":"2015-12-04T10:19:56Z","pushed_at":"2015-12-04T13:13:45Z","git_url":"git://github.com/php-in-practice/matters-aggregate.git","ssh_url":"git@github.com:php-in-practice/matters-aggregate.git","clone_url":"https://github.com/php-in-practice/matters-aggregate.git","svn_url":"https://github.com/php-in-practice/matters-aggregate","homepage":null,"size":21,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"php-in-practice:master","ref":"master","sha":"40fa1c7bbc66b4a3146f1a4359ca31c80a6a37e4","user":{"login":"php-in-practice","id":10670077,"avatar_url":"https://avatars.githubusercontent.com/u/10670077?v=3","gravatar_id":"","url":"https://api.github.com/users/php-in-practice","html_url":"https://github.com/php-in-practice","followers_url":"https://api.github.com/users/php-in-practice/followers","following_url":"https://api.github.com/users/php-in-practice/following{/other_user}","gists_url":"https://api.github.com/users/php-in-practice/gists{/gist_id}","starred_url":"https://api.github.com/users/php-in-practice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-in-practice/subscriptions","organizations_url":"https://api.github.com/users/php-in-practice/orgs","repos_url":"https://api.github.com/users/php-in-practice/repos","events_url":"https://api.github.com/users/php-in-practice/events{/privacy}","received_events_url":"https://api.github.com/users/php-in-practice/received_events","type":"Organization","site_admin":false},"repo":{"id":47396623,"name":"matters-aggregate","full_name":"php-in-practice/matters-aggregate","owner":{"login":"php-in-practice","id":10670077,"avatar_url":"https://avatars.githubusercontent.com/u/10670077?v=3","gravatar_id":"","url":"https://api.github.com/users/php-in-practice","html_url":"https://github.com/php-in-practice","followers_url":"https://api.github.com/users/php-in-practice/followers","following_url":"https://api.github.com/users/php-in-practice/following{/other_user}","gists_url":"https://api.github.com/users/php-in-practice/gists{/gist_id}","starred_url":"https://api.github.com/users/php-in-practice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-in-practice/subscriptions","organizations_url":"https://api.github.com/users/php-in-practice/orgs","repos_url":"https://api.github.com/users/php-in-practice/repos","events_url":"https://api.github.com/users/php-in-practice/events{/privacy}","received_events_url":"https://api.github.com/users/php-in-practice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/php-in-practice/matters-aggregate","description":"","fork":false,"url":"https://api.github.com/repos/php-in-practice/matters-aggregate","forks_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/forks","keys_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/teams","hooks_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/hooks","issue_events_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/issues/events{/number}","events_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/events","assignees_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/assignees{/user}","branches_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/branches{/branch}","tags_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/tags","blobs_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/git/refs{/sha}","trees_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/statuses/{sha}","languages_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/languages","stargazers_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/stargazers","contributors_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/contributors","subscribers_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/subscribers","subscription_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/subscription","commits_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/commits{/sha}","git_commits_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/git/commits{/sha}","comments_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/comments{/number}","issue_comment_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/issues/comments{/number}","contents_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/contents/{+path}","compare_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/merges","archive_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/downloads","issues_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/issues{/number}","pulls_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/pulls{/number}","milestones_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/milestones{/number}","notifications_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/labels{/name}","releases_url":"https://api.github.com/repos/php-in-practice/matters-aggregate/releases{/id}","created_at":"2015-12-04T10:11:45Z","updated_at":"2015-12-04T10:19:56Z","pushed_at":"2015-12-04T13:13:45Z","git_url":"git://github.com/php-in-practice/matters-aggregate.git","ssh_url":"git@github.com:php-in-practice/matters-aggregate.git","clone_url":"https://github.com/php-in-practice/matters-aggregate.git","svn_url":"https://github.com/php-in-practice/matters-aggregate","homepage":null,"size":21,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/php-in-practice/matters-aggregate/pulls/1"},"html":{"href":"https://github.com/php-in-practice/matters-aggregate/pull/1"},"issue":{"href":"https://api.github.com/repos/php-in-practice/matters-aggregate/issues/1"},"comments":{"href":"https://api.github.com/repos/php-in-practice/matters-aggregate/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/php-in-practice/matters-aggregate/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/php-in-practice/matters-aggregate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/php-in-practice/matters-aggregate/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/php-in-practice/matters-aggregate/statuses/c0b0846ac8fa13fe1ed805cdd96711efa271b469"}}}}