/** * Checks if the given key exists. * * @param string $key * @return bool */ public function has($key) { return Arr::has($this->values, $key); }
/** * Checks if a key exists. * @param string $key * @return bool */ public function offsetExists($key) { return Arr::has($this->getConfig(), $key); }