1 | <?php |
||
22 | class PdfInfo extends NoDisplay |
||
23 | { |
||
24 | /** |
||
25 | * The PDF info path. |
||
26 | * |
||
27 | * @var string |
||
28 | */ |
||
29 | private $pdfInfoPath; |
||
30 | |||
31 | /** |
||
32 | * Create PDF info device object. |
||
33 | * |
||
34 | * @param Ghostscript $ghostscript |
||
35 | * @param Arguments $arguments |
||
36 | * @param string $pdfInfoPath Path to toolbin/pdf_info.ps |
||
37 | */ |
||
38 | public function __construct(Ghostscript $ghostscript, Arguments $arguments, $pdfInfoPath) |
||
44 | |||
45 | /** |
||
46 | * Create process object. |
||
47 | * |
||
48 | * @param string $input Path to PDF file to be examined |
||
49 | * |
||
50 | * @throws \RuntimeException |
||
51 | * |
||
52 | * @return \Symfony\Component\Process\Process |
||
53 | */ |
||
54 | public function createProcess($input = null) |
||
64 | } |
||
65 |