config = $config; } /** * @inheritDoc */ public function getName() : string { return Constants::REQUIREMENT_SEARCH_IN_HEADER; } /** * @inheritDoc * @throws \ConfigException */ public function isMet() : bool { return (bool)$this->config->get( Constants::CONFIG_SEARCH_IN_HEADER ); } }