routes)) { return $this->routes[$route]; } return false; } public function getFields($type): array { return Registrar::getFieldsFor($type)??[]; } /** * @deprecated Should use the Registrar::getInstance * @param $type * @return mixed */ public function getContent($type): mixed { return $this->content[$type] ?? $this->taxonomies[$type] ?? $this->blocks[$type] ?? null; } }