protected function registerConfigBindings() { $this->singleton('config', function () { return new ConfigRepository(); }); }