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