src/PDF.php
public function output($view, $data = [])
    {
        $path = $this->processOutput($view, $data);

        $content = file_get_contents($path);

        @unlink($path);

        return $content;
    }
public function output($view, $data = [])
    {
        $path = $this->processOutput($view, $data);

        $content = file_get_contents($path);

        @unlink($path);

        return $content;
    }
public function output ( $ view , $ data = [ ] ) { $ path = $ this -> processOutput ( $ view , $ data ) ; $ content = file_get_contents ( $ path ) ; @ unlink ( $ path ) ; return $ content ; }
Get pdf output for the view.

@param string $view
@param array  $data

@return string
Get pdf output for the view .