/** * {@inheritdoc} */ public function hasIdentity($domain) { return array_has([self::STORAGE_KEY, $domain], $this->session); }
/** * @param mixed $option * * @return bool */ public function hasOption($option) { return array_has($option, $this->options); }