Metode non-statis Barryvdh dompdf pdf :: loadView () tidak boleh disebut secara statis

use Barryvdh\DomPDF\Facade as PDF;
Clean Cod