public hasExtraKey ( string $key ) : boolean | ||
$key | string | The name of the key. |
Résultat | boolean | Returns `true` if the given extra key exists and `false` otherwise. |
public function hasExtraKey($key)
{
return array_key_exists($key, $this->extra);
}