{"action":"created","issue":{"url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware/issues/32","labels_url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware/issues/32/comments","events_url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware/issues/32/events","html_url":"https://github.com/Kevinrob/guzzle-cache-middleware/issues/32","id":106644418,"number":32,"title":"Does not work without Doctrine","user":{"login":"shadowhand","id":38203,"avatar_url":"https://avatars.githubusercontent.com/u/38203?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowhand","html_url":"https://github.com/shadowhand","followers_url":"https://api.github.com/users/shadowhand/followers","following_url":"https://api.github.com/users/shadowhand/following{/other_user}","gists_url":"https://api.github.com/users/shadowhand/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowhand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowhand/subscriptions","organizations_url":"https://api.github.com/users/shadowhand/orgs","repos_url":"https://api.github.com/users/shadowhand/repos","events_url":"https://api.github.com/users/shadowhand/events{/privacy}","received_events_url":"https://api.github.com/users/shadowhand/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"Kevinrob","id":4509277,"avatar_url":"https://avatars.githubusercontent.com/u/4509277?v=3","gravatar_id":"","url":"https://api.github.com/users/Kevinrob","html_url":"https://github.com/Kevinrob","followers_url":"https://api.github.com/users/Kevinrob/followers","following_url":"https://api.github.com/users/Kevinrob/following{/other_user}","gists_url":"https://api.github.com/users/Kevinrob/gists{/gist_id}","starred_url":"https://api.github.com/users/Kevinrob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kevinrob/subscriptions","organizations_url":"https://api.github.com/users/Kevinrob/orgs","repos_url":"https://api.github.com/users/Kevinrob/repos","events_url":"https://api.github.com/users/Kevinrob/events{/privacy}","received_events_url":"https://api.github.com/users/Kevinrob/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-09-15T20:55:49Z","updated_at":"2015-09-17T09:13:25Z","closed_at":null,"body":"The simple example provided in the README:\r\n\r\n```php\r\n$stack->push(new CacheMiddleware(), 'cache');\r\n```\r\n\r\ndoes not work without Doctrine installed:\r\n\r\n> Fatal error: Class undefined: Doctrine\\\\Common\\\\Cache\\\\ArrayCache in vendor/kevinrob/guzzle-cache-middleware/src/Strategy/PrivateCacheStrategy.php on line 61\r\n\r\n\r\nSuggesting `doctrine/cache` seems misleading if the package doesn't work without it.\r\n"},"comment":{"url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware/issues/comments/141019027","html_url":"https://github.com/Kevinrob/guzzle-cache-middleware/issues/32#issuecomment-141019027","issue_url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware/issues/32","id":141019027,"user":{"login":"Kevinrob","id":4509277,"avatar_url":"https://avatars.githubusercontent.com/u/4509277?v=3","gravatar_id":"","url":"https://api.github.com/users/Kevinrob","html_url":"https://github.com/Kevinrob","followers_url":"https://api.github.com/users/Kevinrob/followers","following_url":"https://api.github.com/users/Kevinrob/following{/other_user}","gists_url":"https://api.github.com/users/Kevinrob/gists{/gist_id}","starred_url":"https://api.github.com/users/Kevinrob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kevinrob/subscriptions","organizations_url":"https://api.github.com/users/Kevinrob/orgs","repos_url":"https://api.github.com/users/Kevinrob/repos","events_url":"https://api.github.com/users/Kevinrob/events{/privacy}","received_events_url":"https://api.github.com/users/Kevinrob/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T09:13:25Z","updated_at":"2015-09-17T09:13:25Z","body":"I didn't know Flysystem. I will take a look!"}}