feat: refactor callback validators to dedicated class

This commit is contained in:
Björn Fromme committed 2025-03-26 16:08:25 +01:00
1 parent e4e03a848b
commit 72d413dc99
4 files changed
+94 -70

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
<?php
namespace App\Validator\Constraints;
use Symfony\Component\Validator\Constraint;
#[\Attribute]
class Participant extends Constraint
{
public function getTargets(): array|string
{
return static::CLASS_CONSTRAINT;
}
}