Total Complexity | 1 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class DictionaryApiFactory extends ApiFactoryAbstract |
||
9 | { |
||
10 | /** |
||
11 | * Config section name that is being checked for existence. API-specific properties must |
||
12 | * be located under that section |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $configSectionName = 'dictionaryApi'; |
||
17 | |||
18 | /** |
||
19 | * API interface that must be implemented by API class |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $apiInterface = DictionaryApiInterface::class; |
||
24 | |||
25 | /** |
||
26 | * Gets necessary Dictionary API object |
||
27 | * |
||
28 | * @param array $parameters |
||
29 | * |
||
30 | * @return DictionaryApiInterface |
||
31 | */ |
||
32 | public function getApi(array $parameters = []): DictionaryApiInterface |
||
37 |