Exemple #1
0
 public function setXVFB($path)
 {
     self::$PDF_USE_XVFB = true;
     if (!is_file($path)) {
         throw new \Exception('xvfb executable not found');
     }
     self::$PDF_XVFB_PATH = $path;
 }