class ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaLessThanOrEqualRestriction implements ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaRestrictionMetadataInterface
{
public create(Symfony\Component\Validator\Constraints\LessThanOrEqual $constraint, ApiPlatform\Metadata\ApiProperty $propertyMetadata): array
public supports(Symfony\Component\Validator\Constraint $constraint, ApiPlatform\Metadata\ApiProperty $propertyMetadata): bool
}
Creates json schema restrictions based on the validation constraints.
public create(Symfony\Component\Validator\Constraints\LessThanOrEqual $constraint, ApiPlatform\Metadata\ApiProperty $propertyMetadata): array
constraint | Symfony\Component\Validator\Constraints\LessThanOrEqual | |
propertyMetadata | `ApiPlatform\Metadata\ApiProperty` |
array
Is the constraint supported by the schema restriction?
public supports(Symfony\Component\Validator\Constraint $constraint, ApiPlatform\Metadata\ApiProperty $propertyMetadata): bool
constraint | Symfony\Component\Validator\Constraint | |
propertyMetadata | `ApiPlatform\Metadata\ApiProperty` |
bool
Made with love by
Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.
Learn more