{"action":"closed","number":239,"pull_request":{"url":"https://api.github.com/repos/whiteoctober/Pagerfanta/pulls/239","id":145330129,"html_url":"https://github.com/whiteoctober/Pagerfanta/pull/239","diff_url":"https://github.com/whiteoctober/Pagerfanta/pull/239.diff","patch_url":"https://github.com/whiteoctober/Pagerfanta/pull/239.patch","issue_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/issues/239","number":239,"state":"closed","locked":false,"title":"Concatenation adapter","user":{"login":"FinesseRus","id":9006227,"avatar_url":"https://avatars3.githubusercontent.com/u/9006227?v=4","gravatar_id":"","url":"https://api.github.com/users/FinesseRus","html_url":"https://github.com/FinesseRus","followers_url":"https://api.github.com/users/FinesseRus/followers","following_url":"https://api.github.com/users/FinesseRus/following{/other_user}","gists_url":"https://api.github.com/users/FinesseRus/gists{/gist_id}","starred_url":"https://api.github.com/users/FinesseRus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinesseRus/subscriptions","organizations_url":"https://api.github.com/users/FinesseRus/orgs","repos_url":"https://api.github.com/users/FinesseRus/repos","events_url":"https://api.github.com/users/FinesseRus/events{/privacy}","received_events_url":"https://api.github.com/users/FinesseRus/received_events","type":"User","site_admin":false},"body":"I've made a new adapter. It joins the results of adapter instances into a single adapter.\r\n\r\n```php\r\nuse Pagerfanta\\Adapter\\ArrayAdapter;\r\nuse Pagerfanta\\Adapter\\ConcatenationAdapter;\r\nuse Pagerfanta\\Adapter\\MongoAdapter;\r\n\r\n$adapter = new ConcatenationAdapter(array(\r\n    new ArrayAdapter(array('ad1', 'ad2')),\r\n    new MongoAdapter(/* cursor */)\r\n));\r\n```","created_at":"2017-10-08T11:00:41Z","updated_at":"2017-10-18T13:39:19Z","closed_at":"2017-10-18T13:39:19Z","merged_at":"2017-10-18T13:39:19Z","merge_commit_sha":"234fe139c4c7d285229d13191dd603b86d5e219e","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/pulls/239/commits","review_comments_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/pulls/239/comments","review_comment_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/pulls/comments{/number}","comments_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/issues/239/comments","statuses_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/statuses/ddf690d6d02a3b49c9e189018d06509c7b6e818e","head":{"label":"FinesseRus:feature/concatenation-adapter","ref":"feature/concatenation-adapter","sha":"ddf690d6d02a3b49c9e189018d06509c7b6e818e","user":{"login":"FinesseRus","id":9006227,"avatar_url":"https://avatars3.githubusercontent.com/u/9006227?v=4","gravatar_id":"","url":"https://api.github.com/users/FinesseRus","html_url":"https://github.com/FinesseRus","followers_url":"https://api.github.com/users/FinesseRus/followers","following_url":"https://api.github.com/users/FinesseRus/following{/other_user}","gists_url":"https://api.github.com/users/FinesseRus/gists{/gist_id}","starred_url":"https://api.github.com/users/FinesseRus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinesseRus/subscriptions","organizations_url":"https://api.github.com/users/FinesseRus/orgs","repos_url":"https://api.github.com/users/FinesseRus/repos","events_url":"https://api.github.com/users/FinesseRus/events{/privacy}","received_events_url":"https://api.github.com/users/FinesseRus/received_events","type":"User","site_admin":false},"repo":{"id":106165246,"name":"Pagerfanta","full_name":"FinesseRus/Pagerfanta","owner":{"login":"FinesseRus","id":9006227,"avatar_url":"https://avatars3.githubusercontent.com/u/9006227?v=4","gravatar_id":"","url":"https://api.github.com/users/FinesseRus","html_url":"https://github.com/FinesseRus","followers_url":"https://api.github.com/users/FinesseRus/followers","following_url":"https://api.github.com/users/FinesseRus/following{/other_user}","gists_url":"https://api.github.com/users/FinesseRus/gists{/gist_id}","starred_url":"https://api.github.com/users/FinesseRus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinesseRus/subscriptions","organizations_url":"https://api.github.com/users/FinesseRus/orgs","repos_url":"https://api.github.com/users/FinesseRus/repos","events_url":"https://api.github.com/users/FinesseRus/events{/privacy}","received_events_url":"https://api.github.com/users/FinesseRus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FinesseRus/Pagerfanta","description":"Pagination for PHP.","fork":true,"url":"https://api.github.com/repos/FinesseRus/Pagerfanta","forks_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/forks","keys_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/teams","hooks_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/hooks","issue_events_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/issues/events{/number}","events_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/events","assignees_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/assignees{/user}","branches_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/branches{/branch}","tags_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/tags","blobs_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/git/refs{/sha}","trees_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/statuses/{sha}","languages_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/languages","stargazers_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/stargazers","contributors_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/contributors","subscribers_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/subscribers","subscription_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/subscription","commits_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/commits{/sha}","git_commits_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/git/commits{/sha}","comments_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/comments{/number}","issue_comment_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/issues/comments{/number}","contents_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/contents/{+path}","compare_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/merges","archive_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/downloads","issues_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/issues{/number}","pulls_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/pulls{/number}","milestones_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/milestones{/number}","notifications_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/labels{/name}","releases_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/releases{/id}","deployments_url":"https://api.github.com/repos/FinesseRus/Pagerfanta/deployments","created_at":"2017-10-08T09:44:47Z","updated_at":"2017-10-08T09:44:48Z","pushed_at":"2017-10-18T12:00:26Z","git_url":"git://github.com/FinesseRus/Pagerfanta.git","ssh_url":"git@github.com:FinesseRus/Pagerfanta.git","clone_url":"https://github.com/FinesseRus/Pagerfanta.git","svn_url":"https://github.com/FinesseRus/Pagerfanta","homepage":"","size":337,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"whiteoctober:master","ref":"master","sha":"c8af52cd757c3968485d2b45cc233a105d3828c2","user":{"login":"whiteoctober","id":595822,"avatar_url":"https://avatars0.githubusercontent.com/u/595822?v=4","gravatar_id":"","url":"https://api.github.com/users/whiteoctober","html_url":"https://github.com/whiteoctober","followers_url":"https://api.github.com/users/whiteoctober/followers","following_url":"https://api.github.com/users/whiteoctober/following{/other_user}","gists_url":"https://api.github.com/users/whiteoctober/gists{/gist_id}","starred_url":"https://api.github.com/users/whiteoctober/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whiteoctober/subscriptions","organizations_url":"https://api.github.com/users/whiteoctober/orgs","repos_url":"https://api.github.com/users/whiteoctober/repos","events_url":"https://api.github.com/users/whiteoctober/events{/privacy}","received_events_url":"https://api.github.com/users/whiteoctober/received_events","type":"Organization","site_admin":false},"repo":{"id":1666651,"name":"Pagerfanta","full_name":"whiteoctober/Pagerfanta","owner":{"login":"whiteoctober","id":595822,"avatar_url":"https://avatars0.githubusercontent.com/u/595822?v=4","gravatar_id":"","url":"https://api.github.com/users/whiteoctober","html_url":"https://github.com/whiteoctober","followers_url":"https://api.github.com/users/whiteoctober/followers","following_url":"https://api.github.com/users/whiteoctober/following{/other_user}","gists_url":"https://api.github.com/users/whiteoctober/gists{/gist_id}","starred_url":"https://api.github.com/users/whiteoctober/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whiteoctober/subscriptions","organizations_url":"https://api.github.com/users/whiteoctober/orgs","repos_url":"https://api.github.com/users/whiteoctober/repos","events_url":"https://api.github.com/users/whiteoctober/events{/privacy}","received_events_url":"https://api.github.com/users/whiteoctober/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/whiteoctober/Pagerfanta","description":"Pagination for PHP.","fork":false,"url":"https://api.github.com/repos/whiteoctober/Pagerfanta","forks_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/forks","keys_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/teams","hooks_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/hooks","issue_events_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/issues/events{/number}","events_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/events","assignees_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/assignees{/user}","branches_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/branches{/branch}","tags_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/tags","blobs_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/git/refs{/sha}","trees_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/statuses/{sha}","languages_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/languages","stargazers_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/stargazers","contributors_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/contributors","subscribers_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/subscribers","subscription_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/subscription","commits_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/commits{/sha}","git_commits_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/git/commits{/sha}","comments_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/comments{/number}","issue_comment_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/issues/comments{/number}","contents_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/contents/{+path}","compare_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/merges","archive_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/downloads","issues_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/issues{/number}","pulls_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/pulls{/number}","milestones_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/milestones{/number}","notifications_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/labels{/name}","releases_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/releases{/id}","deployments_url":"https://api.github.com/repos/whiteoctober/Pagerfanta/deployments","created_at":"2011-04-26T18:55:28Z","updated_at":"2017-10-17T15:25:13Z","pushed_at":"2017-10-18T13:39:19Z","git_url":"git://github.com/whiteoctober/Pagerfanta.git","ssh_url":"git@github.com:whiteoctober/Pagerfanta.git","clone_url":"https://github.com/whiteoctober/Pagerfanta.git","svn_url":"https://github.com/whiteoctober/Pagerfanta","homepage":"","size":329,"stargazers_count":711,"watchers_count":711,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":144,"mirror_url":null,"open_issues_count":33,"forks":144,"open_issues":33,"watchers":711,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/whiteoctober/Pagerfanta/pulls/239"},"html":{"href":"https://github.com/whiteoctober/Pagerfanta/pull/239"},"issue":{"href":"https://api.github.com/repos/whiteoctober/Pagerfanta/issues/239"},"comments":{"href":"https://api.github.com/repos/whiteoctober/Pagerfanta/issues/239/comments"},"review_comments":{"href":"https://api.github.com/repos/whiteoctober/Pagerfanta/pulls/239/comments"},"review_comment":{"href":"https://api.github.com/repos/whiteoctober/Pagerfanta/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/whiteoctober/Pagerfanta/pulls/239/commits"},"statuses":{"href":"https://api.github.com/repos/whiteoctober/Pagerfanta/statuses/ddf690d6d02a3b49c9e189018d06509c7b6e818e"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"sampart","id":1507328,"avatar_url":"https://avatars1.githubusercontent.com/u/1507328?v=4","gravatar_id":"","url":"https://api.github.com/users/sampart","html_url":"https://github.com/sampart","followers_url":"https://api.github.com/users/sampart/followers","following_url":"https://api.github.com/users/sampart/following{/other_user}","gists_url":"https://api.github.com/users/sampart/gists{/gist_id}","starred_url":"https://api.github.com/users/sampart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampart/subscriptions","organizations_url":"https://api.github.com/users/sampart/orgs","repos_url":"https://api.github.com/users/sampart/repos","events_url":"https://api.github.com/users/sampart/events{/privacy}","received_events_url":"https://api.github.com/users/sampart/received_events","type":"User","site_admin":false},"comments":1,"review_comments":6,"maintainer_can_modify":false,"commits":7,"additions":225,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"sampart"}}