{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/11085","labels_url":"https://api.github.com/repos/laravel/framework/issues/11085/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/11085/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/11085/events","html_url":"https://github.com/laravel/framework/pull/11085","id":119064995,"number":11085,"title":"[5.1] Introduce Cache Helper","user":{"login":"hkan","id":2135597,"avatar_url":"https://avatars.githubusercontent.com/u/2135597?v=3","gravatar_id":"","url":"https://api.github.com/users/hkan","html_url":"https://github.com/hkan","followers_url":"https://api.github.com/users/hkan/followers","following_url":"https://api.github.com/users/hkan/following{/other_user}","gists_url":"https://api.github.com/users/hkan/gists{/gist_id}","starred_url":"https://api.github.com/users/hkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkan/subscriptions","organizations_url":"https://api.github.com/users/hkan/orgs","repos_url":"https://api.github.com/users/hkan/repos","events_url":"https://api.github.com/users/hkan/events{/privacy}","received_events_url":"https://api.github.com/users/hkan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-26T15:32:14Z","updated_at":"2015-11-28T04:05:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/11085","html_url":"https://github.com/laravel/framework/pull/11085","diff_url":"https://github.com/laravel/framework/pull/11085.diff","patch_url":"https://github.com/laravel/framework/pull/11085.patch"},"body":"This PR introduces the cache helper.\r\n\r\n    cache(); // returns \\Illuminate\\Cache\\CacheManager\r\n\r\n    cache('key', 5, function ()\r\n    {\r\n        return 'foo';\r\n    }); // returns 'foo' and caches as `\\Cache::remember` would do"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/160244880","html_url":"https://github.com/laravel/framework/pull/11085#issuecomment-160244880","issue_url":"https://api.github.com/repos/laravel/framework/issues/11085","id":160244880,"user":{"login":"rkgrep","id":2423048,"avatar_url":"https://avatars.githubusercontent.com/u/2423048?v=3","gravatar_id":"","url":"https://api.github.com/users/rkgrep","html_url":"https://github.com/rkgrep","followers_url":"https://api.github.com/users/rkgrep/followers","following_url":"https://api.github.com/users/rkgrep/following{/other_user}","gists_url":"https://api.github.com/users/rkgrep/gists{/gist_id}","starred_url":"https://api.github.com/users/rkgrep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkgrep/subscriptions","organizations_url":"https://api.github.com/users/rkgrep/orgs","repos_url":"https://api.github.com/users/rkgrep/repos","events_url":"https://api.github.com/users/rkgrep/events{/privacy}","received_events_url":"https://api.github.com/users/rkgrep/received_events","type":"User","site_admin":false},"created_at":"2015-11-28T04:05:31Z","updated_at":"2015-11-28T04:05:31Z","body":"Also this should go to 5.2 at least"}}