Esempio n. 1
0
 /**
  * Check if a setting exists by the key.
  *
  * @param  string  $key
  *
  * @return bool
  */
 public function has($key)
 {
     $this->checkLoaded();
     $domain = $this->grabDomain($key);
     if (!$this->data->has($domain)) {
         return false;
     }
     return Arr::has($this->data->get($domain), $key);
 }