/** * @param $key * @return bool */ public function hasKey($key) : bool { $key = $this->keyFactory->resolve($key); return parent::hasKey($key); }