CodeExplorer getPropertyData example
'groups' =>
$constraint->groups,
'options' =>
$this->
getConstraintOptions($constraint),
];
} } private function getConstrainedPropertiesData(ClassMetadataInterface
$classMetadata): array
{ $data =
[];
foreach ($classMetadata->
getConstrainedProperties() as $constrainedProperty) { $data[$constrainedProperty] =
$this->
getPropertyData($classMetadata,
$constrainedProperty);
} return $data;
} private function getPropertyData(ClassMetadataInterface
$classMetadata, string
$constrainedProperty): array
{ $data =
[];
$propertyMetadata =
$classMetadata->
getPropertyMetadata($constrainedProperty);
foreach ($propertyMetadata as $metadata) { 'groups' =>
$constraint->groups,
'options' =>
$this->
getConstraintOptions($constraint),
];
} } private function getConstrainedPropertiesData(ClassMetadataInterface
$classMetadata): array
{ $data =
[];
foreach ($classMetadata->
getConstrainedProperties() as $constrainedProperty) { $data[$constrainedProperty] =
$this->
getPropertyData($classMetadata,
$constrainedProperty);
} return $data;
} private function getPropertyData(ClassMetadataInterface
$classMetadata, string
$constrainedProperty): array
{ $data =
[];
$propertyMetadata =
$classMetadata->
getPropertyMetadata($constrainedProperty);
foreach ($propertyMetadata as $metadata) {