{"action":"created","comment":{"url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/pulls/comments/27824422","id":27824422,"diff_hunk":"@@ -31,6 +31,16 @@ public function __construct(AdapterInterface $adapter, CacheInterface $cache)\n     }\n \n     /**\n+     * Get the Adapter.\n+     *\n+     * @return AdapterInterface adapter","path":"src/CachedAdapter.php","position":6,"original_position":6,"commit_id":"893d228cfc60f62d789f18e7f50ac985179c6df9","original_commit_id":"893d228cfc60f62d789f18e7f50ac985179c6df9","user":{"login":"GrahamCampbell","id":2829600,"avatar_url":"https://avatars.githubusercontent.com/u/2829600?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamCampbell","html_url":"https://github.com/GrahamCampbell","followers_url":"https://api.github.com/users/GrahamCampbell/followers","following_url":"https://api.github.com/users/GrahamCampbell/following{/other_user}","gists_url":"https://api.github.com/users/GrahamCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamCampbell/subscriptions","organizations_url":"https://api.github.com/users/GrahamCampbell/orgs","repos_url":"https://api.github.com/users/GrahamCampbell/repos","events_url":"https://api.github.com/users/GrahamCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamCampbell/received_events","type":"User","site_admin":false},"body":"this \"description\" is not useful and should be removed","created_at":"2015-04-06T19:55:24Z","updated_at":"2015-04-06T19:55:24Z","html_url":"https://github.com/thephpleague/flysystem-cached-adapter/pull/9#discussion_r27824422","pull_request_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/pulls/comments/27824422"},"html":{"href":"https://github.com/thephpleague/flysystem-cached-adapter/pull/9#discussion_r27824422"},"pull_request":{"href":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/pulls/9","id":32704513,"html_url":"https://github.com/thephpleague/flysystem-cached-adapter/pull/9","diff_url":"https://github.com/thephpleague/flysystem-cached-adapter/pull/9.diff","patch_url":"https://github.com/thephpleague/flysystem-cached-adapter/pull/9.patch","issue_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/issues/9","number":9,"state":"open","locked":false,"title":"Add getAdapter()","user":{"login":"weotch","id":77567,"avatar_url":"https://avatars.githubusercontent.com/u/77567?v=3","gravatar_id":"","url":"https://api.github.com/users/weotch","html_url":"https://github.com/weotch","followers_url":"https://api.github.com/users/weotch/followers","following_url":"https://api.github.com/users/weotch/following{/other_user}","gists_url":"https://api.github.com/users/weotch/gists{/gist_id}","starred_url":"https://api.github.com/users/weotch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weotch/subscriptions","organizations_url":"https://api.github.com/users/weotch/orgs","repos_url":"https://api.github.com/users/weotch/repos","events_url":"https://api.github.com/users/weotch/events{/privacy}","received_events_url":"https://api.github.com/users/weotch/received_events","type":"User","site_admin":false},"body":"This builds on #8, adding the requested unit test.\r\n\r\nMy use case for this feature is for a package I'm writing where I want to accept instances of both `League\\Flysystem\\Filesystem` and `League\\Flysystem\\Cached\\CachedAdapter` into a method, but I want to have special logic run if the adapter is `local`.","created_at":"2015-04-06T19:43:28Z","updated_at":"2015-04-06T19:55:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4d8e28433ca285f77ace3346743997fae386be2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/pulls/9/commits","review_comments_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/pulls/9/comments","review_comment_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/issues/9/comments","statuses_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/statuses/893d228cfc60f62d789f18e7f50ac985179c6df9","head":{"label":"weotch:patch-1","ref":"patch-1","sha":"893d228cfc60f62d789f18e7f50ac985179c6df9","user":{"login":"weotch","id":77567,"avatar_url":"https://avatars.githubusercontent.com/u/77567?v=3","gravatar_id":"","url":"https://api.github.com/users/weotch","html_url":"https://github.com/weotch","followers_url":"https://api.github.com/users/weotch/followers","following_url":"https://api.github.com/users/weotch/following{/other_user}","gists_url":"https://api.github.com/users/weotch/gists{/gist_id}","starred_url":"https://api.github.com/users/weotch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weotch/subscriptions","organizations_url":"https://api.github.com/users/weotch/orgs","repos_url":"https://api.github.com/users/weotch/repos","events_url":"https://api.github.com/users/weotch/events{/privacy}","received_events_url":"https://api.github.com/users/weotch/received_events","type":"User","site_admin":false},"repo":{"id":33499379,"name":"flysystem-cached-adapter","full_name":"weotch/flysystem-cached-adapter","owner":{"login":"weotch","id":77567,"avatar_url":"https://avatars.githubusercontent.com/u/77567?v=3","gravatar_id":"","url":"https://api.github.com/users/weotch","html_url":"https://github.com/weotch","followers_url":"https://api.github.com/users/weotch/followers","following_url":"https://api.github.com/users/weotch/following{/other_user}","gists_url":"https://api.github.com/users/weotch/gists{/gist_id}","starred_url":"https://api.github.com/users/weotch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weotch/subscriptions","organizations_url":"https://api.github.com/users/weotch/orgs","repos_url":"https://api.github.com/users/weotch/repos","events_url":"https://api.github.com/users/weotch/events{/privacy}","received_events_url":"https://api.github.com/users/weotch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/weotch/flysystem-cached-adapter","description":"Flysystem Adapter Cache Decorator.","fork":true,"url":"https://api.github.com/repos/weotch/flysystem-cached-adapter","forks_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/forks","keys_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/teams","hooks_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/hooks","issue_events_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/issues/events{/number}","events_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/events","assignees_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/assignees{/user}","branches_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/branches{/branch}","tags_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/tags","blobs_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/git/refs{/sha}","trees_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/statuses/{sha}","languages_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/languages","stargazers_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/stargazers","contributors_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/contributors","subscribers_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/subscribers","subscription_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/subscription","commits_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/commits{/sha}","git_commits_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/git/commits{/sha}","comments_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/comments{/number}","issue_comment_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/issues/comments{/number}","contents_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/contents/{+path}","compare_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/merges","archive_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/downloads","issues_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/issues{/number}","pulls_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/pulls{/number}","milestones_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/milestones{/number}","notifications_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/labels{/name}","releases_url":"https://api.github.com/repos/weotch/flysystem-cached-adapter/releases{/id}","created_at":"2015-04-06T18:55:36Z","updated_at":"2015-04-06T18:55:36Z","pushed_at":"2015-04-06T19:39:07Z","git_url":"git://github.com/weotch/flysystem-cached-adapter.git","ssh_url":"git@github.com:weotch/flysystem-cached-adapter.git","clone_url":"https://github.com/weotch/flysystem-cached-adapter.git","svn_url":"https://github.com/weotch/flysystem-cached-adapter","homepage":null,"size":105,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"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":"pilot"}},"base":{"label":"thephpleague:master","ref":"master","sha":"696697b56f00f8ec003d23810b52ab00e68df575","user":{"login":"thephpleague","id":527621,"avatar_url":"https://avatars.githubusercontent.com/u/527621?v=3","gravatar_id":"","url":"https://api.github.com/users/thephpleague","html_url":"https://github.com/thephpleague","followers_url":"https://api.github.com/users/thephpleague/followers","following_url":"https://api.github.com/users/thephpleague/following{/other_user}","gists_url":"https://api.github.com/users/thephpleague/gists{/gist_id}","starred_url":"https://api.github.com/users/thephpleague/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thephpleague/subscriptions","organizations_url":"https://api.github.com/users/thephpleague/orgs","repos_url":"https://api.github.com/users/thephpleague/repos","events_url":"https://api.github.com/users/thephpleague/events{/privacy}","received_events_url":"https://api.github.com/users/thephpleague/received_events","type":"Organization","site_admin":false},"repo":{"id":29089546,"name":"flysystem-cached-adapter","full_name":"thephpleague/flysystem-cached-adapter","owner":{"login":"thephpleague","id":527621,"avatar_url":"https://avatars.githubusercontent.com/u/527621?v=3","gravatar_id":"","url":"https://api.github.com/users/thephpleague","html_url":"https://github.com/thephpleague","followers_url":"https://api.github.com/users/thephpleague/followers","following_url":"https://api.github.com/users/thephpleague/following{/other_user}","gists_url":"https://api.github.com/users/thephpleague/gists{/gist_id}","starred_url":"https://api.github.com/users/thephpleague/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thephpleague/subscriptions","organizations_url":"https://api.github.com/users/thephpleague/orgs","repos_url":"https://api.github.com/users/thephpleague/repos","events_url":"https://api.github.com/users/thephpleague/events{/privacy}","received_events_url":"https://api.github.com/users/thephpleague/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thephpleague/flysystem-cached-adapter","description":"Flysystem Adapter Cache Decorator.","fork":false,"url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter","forks_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/forks","keys_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/teams","hooks_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/hooks","issue_events_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/issues/events{/number}","events_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/events","assignees_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/assignees{/user}","branches_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/branches{/branch}","tags_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/tags","blobs_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/git/refs{/sha}","trees_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/statuses/{sha}","languages_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/languages","stargazers_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/stargazers","contributors_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/contributors","subscribers_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/subscribers","subscription_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/subscription","commits_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/commits{/sha}","git_commits_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/git/commits{/sha}","comments_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/comments{/number}","issue_comment_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/issues/comments{/number}","contents_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/contents/{+path}","compare_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/merges","archive_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/downloads","issues_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/issues{/number}","pulls_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/pulls{/number}","milestones_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/milestones{/number}","notifications_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/labels{/name}","releases_url":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/releases{/id}","created_at":"2015-01-11T11:31:57Z","updated_at":"2015-02-11T10:27:36Z","pushed_at":"2015-04-06T19:43:29Z","git_url":"git://github.com/thephpleague/flysystem-cached-adapter.git","ssh_url":"git@github.com:thephpleague/flysystem-cached-adapter.git","clone_url":"https://github.com/thephpleague/flysystem-cached-adapter.git","svn_url":"https://github.com/thephpleague/flysystem-cached-adapter","homepage":null,"size":379,"stargazers_count":5,"watchers_count":5,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/pulls/9"},"html":{"href":"https://github.com/thephpleague/flysystem-cached-adapter/pull/9"},"issue":{"href":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/issues/9"},"comments":{"href":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/thephpleague/flysystem-cached-adapter/statuses/893d228cfc60f62d789f18e7f50ac985179c6df9"}}}}