public function getView(string $uri, Engine $engine, $type = null): View
    {
        if (null === $type) {
            $view = $this->getViewFinder()->find([$uri], $engine);
            return $view->setBuilder( $this );
        }

        return $this->resolveType($type, $uri, $engine);
    }