Пример #1
0
 /**
  * Checks if the given key exists.
  *
  * @param  string $key
  * @return bool
  */
 public function has($key)
 {
     return Arr::has($this->values, $key);
 }
Пример #2
0
 /**
  * Checks if a key exists.
  * @param  string $key
  * @return bool
  */
 public function offsetExists($key)
 {
     return Arr::has($this->getConfig(), $key);
 }