{"action":"closed","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/8408","labels_url":"https://api.github.com/repos/laravel/framework/issues/8408/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/8408/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/8408/events","html_url":"https://github.com/laravel/framework/issues/8408","id":68079856,"number":8408,"title":"Class cache does not exist","user":{"login":"msimkunas","id":9675250,"avatar_url":"https://avatars.githubusercontent.com/u/9675250?v=3","gravatar_id":"","url":"https://api.github.com/users/msimkunas","html_url":"https://github.com/msimkunas","followers_url":"https://api.github.com/users/msimkunas/followers","following_url":"https://api.github.com/users/msimkunas/following{/other_user}","gists_url":"https://api.github.com/users/msimkunas/gists{/gist_id}","starred_url":"https://api.github.com/users/msimkunas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msimkunas/subscriptions","organizations_url":"https://api.github.com/users/msimkunas/orgs","repos_url":"https://api.github.com/users/msimkunas/repos","events_url":"https://api.github.com/users/msimkunas/events{/privacy}","received_events_url":"https://api.github.com/users/msimkunas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-13T12:01:35Z","updated_at":"2015-04-13T17:38:30Z","closed_at":"2015-04-13T17:38:30Z","body":"When I try to do something like\r\n```\r\n$cache = $this->app['cache'];\r\n```\r\nin a service provider's `register` method in L4.2, I get the 'Class cache does not exist' ReflectionException.\r\n\r\nHowever, `new \\Illuminate\\Cache\\CacheManager($app)` works. What's the issue here?"}}