Beispiel #1
0
 /**
  * Check an array has a value based on a separated key.
  *
  * @param string $key
  *
  * @return bool
  */
 public function offsetExists($key) : bool
 {
     return Arr::has($this->data, $key);
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 public function has(string $name) : bool
 {
     return Arr::has($this->values, $name);
 }
Beispiel #3
0
 /**
  * {@inheritdoc}
  */
 public function hasParameter(string $name) : bool
 {
     return Arr::has($this->parameters, $name);
 }