Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
50 | 2 | public function createProcess($inputFile = null) |
|
51 | { |
||
52 | // the PDF file to be examined must be provided as parameter -sFile=... |
||
53 | 2 | $this->setArgument(sprintf('-sFile=%s', $inputFile)); |
|
54 | |||
55 | // the pdf_info.ps script will be read as input to gs |
||
56 | 2 | return parent::createProcess($this->pdfInfoPath); |
|
57 | } |
||
58 | } |
||
59 |