src/Page/PageView.php
public function getView(): View
    {
        $path = $this->useShortViewPath ?
            $this->getViewPath() : sprintf('%s.%s.%s', $this->getTheme(), $this->getLayout(), $this->getViewPath());

        if (is_null($this->viewInstance)) {
            $this->viewInstance = $this->factory->make($path);
        }

        return $this->viewInstance;
    }
public function getView(): View
    {
        $path = $this->useShortViewPath ?
            $this->getViewPath() : sprintf('%s.%s.%s', $this->getTheme(), $this->getLayout(), $this->getViewPath());

        if (is_null($this->viewInstance)) {
            $this->viewInstance = $this->factory->make($path);
        }

        return $this->viewInstance;
    }
public function getView ( ) : View { $ path = $ this -> useShortViewPath ? $ this -> getViewPath ( ) : sprintf ( '%s.%s.%s' , $ this -> getTheme ( ) , $ this -> getLayout ( ) , $ this -> getViewPath ( ) ) ; if ( is_null ( $ this -> viewInstance ) ) { $ this -> viewInstance = $ this -> factory -> make ( $ path ) ; } return $ this -> viewInstance ; }
Return the page view.

@return View
Return the page view .