| 1 | <?php |
||
| 17 | class Input |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * The process input. |
||
| 21 | * |
||
| 22 | * @var null|string|resource |
||
| 23 | */ |
||
| 24 | private $processInput; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * The PostScript code. |
||
| 28 | * |
||
| 29 | * @var null|string |
||
| 30 | */ |
||
| 31 | private $postScriptCode; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * The files. |
||
| 35 | * |
||
| 36 | * @var null|string[] |
||
| 37 | */ |
||
| 38 | private $files; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Get process input. |
||
| 42 | * |
||
| 43 | * @return null|string|resource |
||
| 44 | */ |
||
| 45 | 4 | public function getProcessInput() |
|
| 49 | |||
| 50 | /** |
||
| 51 | * Set process input. |
||
| 52 | * |
||
| 53 | * @param mixed $processInput |
||
| 54 | * |
||
| 55 | * @throws \InvalidArgumentException |
||
| 56 | * |
||
| 57 | * @return $this |
||
| 58 | */ |
||
| 59 | 2 | public function setProcessInput($processInput) |
|
| 65 | |||
| 66 | /** |
||
| 67 | * Get PostScript code. |
||
| 68 | * |
||
| 69 | * @return null|string |
||
| 70 | */ |
||
| 71 | 4 | public function getPostScriptCode() |
|
| 75 | |||
| 76 | /** |
||
| 77 | * Set PostScript code. |
||
| 78 | * |
||
| 79 | * @param null|string $postScriptCode |
||
| 80 | * |
||
| 81 | * @return $this |
||
| 82 | */ |
||
| 83 | 2 | public function setPostScriptCode($postScriptCode) |
|
| 89 | |||
| 90 | /** |
||
| 91 | * Get files. |
||
| 92 | * |
||
| 93 | * @return string[] |
||
| 94 | */ |
||
| 95 | 4 | public function getFiles() |
|
| 103 | |||
| 104 | /** |
||
| 105 | * Add file. |
||
| 106 | * |
||
| 107 | * @param string $file |
||
| 108 | * |
||
| 109 | * @return $this |
||
| 110 | */ |
||
| 111 | 2 | public function addFile($file) |
|
| 121 | |||
| 122 | /** |
||
| 123 | * Set files. |
||
| 124 | * |
||
| 125 | * @param string[] $files |
||
| 126 | * |
||
| 127 | * @return $this |
||
| 128 | */ |
||
| 129 | 2 | public function setFiles(array $files) |
|
| 135 | } |
||
| 136 |