src/Koldy/Response/View.php
public function getOutput(): string
    {
        $this->prepareFlush();
        $path = $this->getViewPath($this->view);

        if (!file_exists($path)) {
            throw new ResponseException("View ({$this->view}) not found on path={$path}");
        }

        ob_start(null, 0, PHP_OUTPUT_HANDLER_CLEANABLE | PHP_OUTPUT_HANDLER_FLUSHABLE | PHP_OUTPUT_HANDLER_REMOVABLE);

        require $path;

        return ob_get_clean();
    }
public function getOutput(): string
    {
        $this->prepareFlush();
        $path = $this->getViewPath($this->view);

        if (!file_exists($path)) {
            throw new ResponseException("View ({$this->view}) not found on path={$path}");
        }

        ob_start(null, 0, PHP_OUTPUT_HANDLER_CLEANABLE | PHP_OUTPUT_HANDLER_FLUSHABLE | PHP_OUTPUT_HANDLER_REMOVABLE);

        require $path;

        return ob_get_clean();
    }
public function getOutput ( ) : string { $ this -> prepareFlush ( ) ; $ path = $ this -> getViewPath ( $ this -> view ) ; if ( ! file_exists ( $ path ) ) { throw new ResponseException ( "View ({$this->view}) not found on path={$path}" ) ; } ob_start ( null , 0 , PHP_OUTPUT_HANDLER_CLEANABLE | PHP_OUTPUT_HANDLER_FLUSHABLE | PHP_OUTPUT_HANDLER_REMOVABLE ) ; require $ path ; return ob_get_clean ( ) ; }
Get the rendered view code.

@throws Exception
@return string
@link http://koldy.net/docs/view#get-output
Get the rendered view code .