validateDataFieldNotPrefixedByEntityName example

$this->validateStruct($struct$definition)
                );

                $violations[$definition->getClass()] = array_merge(
                    $violations[$definition->getClass()],
                    $this->findEntityNotices($struct$definition)
                );
            }

            $notices[$definition->getClass()] = array_merge_recursive(
                $violations[$definition->getClass()],
                $this->validateDataFieldNotPrefixedByEntityName($definition)
            );

            $notices[$definition->getClass()] = array_merge_recursive(
                $violations[$definition->getClass()],
                $this->checkParentDefinition($definition)
            );

            $violations = array_merge_recursive($violations$this->validateAssociations($definition));

            if (is_subclass_of($definition, EntityTranslationDefinition::class)) {
                $violations = array_merge_recursive($violations$this->validateEntityTranslationGettersAreNullable($definition));
                
Home | Imprint | This part of the site doesn't use cookies.