(Nested) Attributes:

<?php
#[Constraint(*new Tries(3)*)]
class Login
{
}