| @@ 93-104 (lines=12) @@ | ||
| 90 | /** |
|
| 91 | * {@inheritdoc} |
|
| 92 | */ |
|
| 93 | public function loadList(array $ids): iterable |
|
| 94 | { |
|
| 95 | return $this->getMultipleCacheValues( |
|
| 96 | $ids, |
|
| 97 | 'ez-language-', |
|
| 98 | function (array $ids) { |
|
| 99 | return $this->persistenceHandler->contentLanguageHandler()->loadList($ids); |
|
| 100 | }, |
|
| 101 | $this->getTags, |
|
| 102 | $this->getKeys |
|
| 103 | ); |
|
| 104 | } |
|
| 105 | ||
| 106 | /** |
|
| 107 | * {@inheritdoc} |
|
| @@ 125-136 (lines=12) @@ | ||
| 122 | /** |
|
| 123 | * {@inheritdoc} |
|
| 124 | */ |
|
| 125 | public function loadListByLanguageCodes(array $languageCodes): iterable |
|
| 126 | { |
|
| 127 | return $this->getMultipleCacheValues( |
|
| 128 | $languageCodes, |
|
| 129 | 'ez-language-code-', |
|
| 130 | function (array $languageCodes) { |
|
| 131 | return $this->persistenceHandler->contentLanguageHandler()->loadListByLanguageCodes($languageCodes); |
|
| 132 | }, |
|
| 133 | $this->getTags, |
|
| 134 | $this->getKeys |
|
| 135 | ); |
|
| 136 | } |
|
| 137 | ||
| 138 | /** |
|
| 139 | * {@inheritdoc} |
|