| 1 | <?php |
||
| 8 | class Exiftool extends AbstractConfig |
||
| 9 | {
|
||
| 10 | /** |
||
| 11 | * Config. |
||
| 12 | * |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | protected $config = [ |
||
| 16 | 'path' => '/usr/bin/exiftool', |
||
| 17 | 'command' => 'exiftool -j %s', |
||
| 18 | ]; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Get exiftool read command. |
||
| 22 | * |
||
| 23 | * @return string |
||
| 24 | */ |
||
| 25 | public function getCommand() |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Where the exiftool is. |
||
| 32 | * |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function path() |
||
| 39 | } |