/** * {@inheritdoc} */ public function match(Query $query) : QueryHandler { return $this->queryMap->getHandler(get_class($query)); }