1 | <?php |
||
10 | class iDokladFactory |
||
11 | { |
||
12 | /** |
||
13 | * @param array $config |
||
14 | * @param AccessTokenStorageInterface|null $storage |
||
15 | * |
||
16 | * @throws \Symfony\Component\OptionsResolver\Exception\ExceptionInterface |
||
17 | * |
||
18 | * @return iDoklad |
||
19 | */ |
||
20 | public static function create(array $config, AccessTokenStorageInterface $storage = null): iDoklad |
||
27 | |||
28 | /** |
||
29 | * Get all required options for $config. |
||
30 | * |
||
31 | * @return array |
||
32 | */ |
||
33 | public static function getRequiredOptions(): array |
||
46 | |||
47 | /** |
||
48 | * Get all available options for $config. |
||
49 | * |
||
50 | * @return array |
||
51 | */ |
||
52 | public static function getAvailableOptions(): array |
||
81 | } |
||
82 |