getServiceLocator()->get(RdfLtiPlatformRepository::class); } /** * @return ValidatorInterface[][] */ protected function getExtraValidationRules(): array { return $this->getValidationFactory()->createFormValidators(); } private function getValidationFactory(): ValidatorsFactory { return $this->getServiceLocator()->get(ValidatorsFactory::class); } }