| 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 | 4 | public function __construct(Ghostscript $ghostscript, Arguments $arguments, $pdfInfoPath) |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @param string $inputFile Path to PDF file to be examined |
||
| 47 | * |
||
| 48 | * @return \Symfony\Component\Process\Process |
||
| 49 | */ |
||
| 50 | 2 | public function createProcess($inputFile = null) |
|
| 58 | } |
||
| 59 |