| 1 | <?php |
||
| 18 | final class ContentTranslationEvaluator implements VersionTargetEvaluator |
||
| 19 | { |
||
| 20 | public function accept(Target\Version $targetVersion): bool |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Allow access if any of the given language codes for translations matches any of the limitation values. |
||
| 27 | */ |
||
| 28 | public function evaluate(Target\Version $targetVersion, Limitation $limitationValue): ?bool |
||
| 39 | } |
||
| 40 |