https://g.co/gemini/share/d274061793ef


// src/Entity/Person.php
namespace App\Entity;

use Symfony\Component\Validator\Constraints as Assert;

class Person
{
    #[Assert\GreaterThan(5)]
    protected int $siblings;

    #[Assert\GreaterThan(
        value: 18,
    )]
    protected int $age;
}

Powered by Froala Editor