/** * @param Searchable $type * @return mixed */ public function getConfig(Searchable $type) { return $this->config->getType($type->getSearchableType()); }