1 | <?php |
||
18 | class Api |
||
19 | { |
||
20 | /** |
||
21 | * @var array |
||
22 | */ |
||
23 | private $params = []; |
||
24 | |||
25 | /** |
||
26 | * Api constructor. |
||
27 | * |
||
28 | * @param \Mrcnpdlk\Api\Unoconv\Config $oConfig |
||
29 | * |
||
30 | * @throws \Mrcnpdlk\Api\Unoconv\Exception |
||
31 | */ |
||
32 | 2 | public function __construct(Config $oConfig = null) |
|
40 | |||
41 | /** |
||
42 | * @param string $from |
||
43 | * @param string $to |
||
44 | * @param FormatType|null $format |
||
45 | * |
||
46 | * @throws \Mrcnpdlk\Api\Unoconv\Exception\UnoconvException |
||
47 | * |
||
48 | * @return SplFileObject |
||
49 | */ |
||
50 | 1 | public function create(string $from, string $to, FormatType $format = null): SplFileObject |
|
66 | } |
||
67 |