{"action":"opened","issue":{"url":"https://api.github.com/repos/Laravel-Backpack/Settings/issues/57","repository_url":"https://api.github.com/repos/Laravel-Backpack/Settings","labels_url":"https://api.github.com/repos/Laravel-Backpack/Settings/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/Laravel-Backpack/Settings/issues/57/comments","events_url":"https://api.github.com/repos/Laravel-Backpack/Settings/issues/57/events","html_url":"https://github.com/Laravel-Backpack/Settings/issues/57","id":269331421,"number":57,"title":"Using config() inside Artisan","user":{"login":"InkedCurtis","id":26754190,"avatar_url":"https://avatars0.githubusercontent.com/u/26754190?v=4","gravatar_id":"","url":"https://api.github.com/users/InkedCurtis","html_url":"https://github.com/InkedCurtis","followers_url":"https://api.github.com/users/InkedCurtis/followers","following_url":"https://api.github.com/users/InkedCurtis/following{/other_user}","gists_url":"https://api.github.com/users/InkedCurtis/gists{/gist_id}","starred_url":"https://api.github.com/users/InkedCurtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InkedCurtis/subscriptions","organizations_url":"https://api.github.com/users/InkedCurtis/orgs","repos_url":"https://api.github.com/users/InkedCurtis/repos","events_url":"https://api.github.com/users/InkedCurtis/events{/privacy}","received_events_url":"https://api.github.com/users/InkedCurtis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-28T16:41:20Z","updated_at":"2017-10-28T16:41:20Z","closed_at":null,"author_association":"NONE","body":"I read on here that it's not possible to use by default the `Config::get('setting here')` command with Artisan, so inside my Command Class, I've done the following:\r\n```\r\nuse Backpack\\Settings;\r\n/**\r\n* Create a new command instance.\r\n*\r\n* @return void\r\n*/\r\npublic function __construct() {\r\n    Settings::init();\r\n    parent::__construct();\r\n};\r\npublic function handle() {\r\n    $this->info(Config::get('settings.program_status'));\r\n}\r\n```\r\n\r\nBut I'm getting this error thrown inside the console:\r\n\r\n```\r\n [Symfony\\Component\\Debug\\Exception\\FatalThrowableError]  \r\n  Class 'Backpack\\Settings' not found     \r\n```\r\n\r\nHow can I go about fixing this?"}}
{"actor":{"display_login":"InkedCurtis"}}