{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/10908","labels_url":"https://api.github.com/repos/laravel/framework/issues/10908/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/10908/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/10908/events","html_url":"https://github.com/laravel/framework/issues/10908","id":116555529,"number":10908,"title":"Error in route:list when injecting Requests","user":{"login":"peterpan666","id":4153168,"avatar_url":"https://avatars.githubusercontent.com/u/4153168?v=3","gravatar_id":"","url":"https://api.github.com/users/peterpan666","html_url":"https://github.com/peterpan666","followers_url":"https://api.github.com/users/peterpan666/followers","following_url":"https://api.github.com/users/peterpan666/following{/other_user}","gists_url":"https://api.github.com/users/peterpan666/gists{/gist_id}","starred_url":"https://api.github.com/users/peterpan666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterpan666/subscriptions","organizations_url":"https://api.github.com/users/peterpan666/orgs","repos_url":"https://api.github.com/users/peterpan666/repos","events_url":"https://api.github.com/users/peterpan666/events{/privacy}","received_events_url":"https://api.github.com/users/peterpan666/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-11-12T14:11:42Z","updated_at":"2015-11-22T00:26:27Z","closed_at":"2015-11-12T14:14:50Z","body":"Hi!\r\n\r\nI have an issue when I want to list the route from command line.\r\n\r\nI've made Request (one for each Controller) and I inject it in the Controller construct method. It works great and that way, I can write validation for all my Controller methods in the same file.\r\n\r\nBut when I want to list all the routes this error is thrown\r\n\r\n[Symfony\\Component\\Debug\\Exception\\FatalErrorException]\r\nCall to a member function make() on a non-object\r\n\r\nI think it's related to the Request injection because when I remove it, there is no error.\r\n\r\nWhat can I do to remove this error?"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/158693956","html_url":"https://github.com/laravel/framework/issues/10908#issuecomment-158693956","issue_url":"https://api.github.com/repos/laravel/framework/issues/10908","id":158693956,"user":{"login":"peterpan666","id":4153168,"avatar_url":"https://avatars.githubusercontent.com/u/4153168?v=3","gravatar_id":"","url":"https://api.github.com/users/peterpan666","html_url":"https://github.com/peterpan666","followers_url":"https://api.github.com/users/peterpan666/followers","following_url":"https://api.github.com/users/peterpan666/following{/other_user}","gists_url":"https://api.github.com/users/peterpan666/gists{/gist_id}","starred_url":"https://api.github.com/users/peterpan666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterpan666/subscriptions","organizations_url":"https://api.github.com/users/peterpan666/orgs","repos_url":"https://api.github.com/users/peterpan666/repos","events_url":"https://api.github.com/users/peterpan666/events{/privacy}","received_events_url":"https://api.github.com/users/peterpan666/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T00:26:27Z","updated_at":"2015-11-22T00:26:27Z","body":"I've tested it and it seems to work on Laravel 5.2!"}}