Closed tuxes3 closed 3 years ago
Support php8 Attributes.
So that we can use it like that:
use Misd\PhoneNumberBundle\Validator\Constraints\PhoneNumber as AssertPhoneNumber; ... #[ORM\Column(type: 'phone_number')] #[Assert\NotNull] #[AssertPhoneNumber] private PhoneNumber $phone;
Already done : https://github.com/odolbeau/phone-number-bundle/pull/84
Support php8 Attributes.
So that we can use it like that: