Spatie\PdfToImage\Pdf::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( string $pdfFile )
$pdfFile string The path to the pdffile.
    public function __construct($pdfFile)
    {
        if (!file_exists($pdfFile)) {
            throw new PdfDoesNotExist();
        }
        $this->pdfFile = $pdfFile;
    }