/** * register the provider * * @return mixed */ public function register() { Config::set('database.tables.login', $this->login); Config::set('database.tables.select', $this->select); Config::set('database.tables.authentication', $this->role); Config::set('database.tables.table', $this->table); }
/** * register the provider * * @return mixed */ public function register() { Config::set('database.tables.register', $this->register); }
/** * work with config files * * @param string $name the name of config * @param mixed $set if it is not equal, these values will be set the config file * @return mixed */ function config($name = '', $set = null) { if ('' === $name) { return App::make('config'); } return null === $set ? Config::get($name) : Config::set($name, $set); }