src/Viserio/Component/View/ViewFinder.php
protected function findNamedPathView(string $name): array
    {
        [$namespace, $view] = $this->getNamespaceSegments($name);

        return $this->findInPaths($view, $this->hints[$namespace]);
    }
protected function findNamedPathView(string $name): array
    {
        [$namespace, $view] = $this->getNamespaceSegments($name);

        return $this->findInPaths($view, $this->hints[$namespace]);
    }
Get the path to a template with a named path.

@param string $name

@return array