getOption(self::OPTION_FEATURE_FLAG_FORM_FIELDS) as $field => $featureFlags) { foreach ($featureFlags as $featureFlag) { if (!$this->getFeatureFlagChecker()->isEnabled($featureFlag)) { $excludedProperties[] = $field; } } } return array_unique($excludedProperties); } private function getFeatureFlagChecker(): FeatureFlagCheckerInterface { return $this->getServiceLocator()->get(FeatureFlagChecker::class); } }