src/Page/Page.php
public function setView(string $name, bool $useShortPath = false): PageInterface
    {
        $this->ui()->useShortPath($useShortPath)->setView($name);

        return $this;
    }
public function setView(string $name, bool $useShortPath = false): PageInterface
    {
        $this->ui()->useShortPath($useShortPath)->setView($name);

        return $this;
    }
public function setView ( string $ name , bool $ useShortPath = false ) : PageInterface { $ this -> ui ( ) -> useShortPath ( $ useShortPath ) -> setView ( $ name ) ; return $ this ; }
Set the page view path.

@param string $name
@param bool   $useShortPath

@return PageInterface
Set the page view path .