wip: first working version
This commit is contained in:
1 parent
d4c4e69d09
commit
bd13ae6537
24 files changed
+590
-319
No files matched your search
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Validator\Constraints;
|
||||
|
||||
use Symfony\Component\Validator\Constraint;
|
||||
|
||||
#[\Attribute]
|
||||
class Booking extends Constraint
|
||||
{
|
||||
public string $message = 'WTF?';
|
||||
|
||||
public function getTargets(): array|string
|
||||
{
|
||||
return static::CLASS_CONSTRAINT;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user