| 12345678910111213141516171819202122 |
- <?php
- declare(strict_types=1);
- namespace App\Attribute;
- /**
- * Classe DateTimeConstraintAware qui gère l'annotation pour le Doctrine filter
- */
- #[\Attribute(\Attribute::TARGET_CLASS)]
- final class DateTimeConstraintAware
- {
- public string $startDateFieldName;
- public string $endDateFieldName;
- public function __construct(
- string $startDateFieldName,
- string $endDateFieldName
- ){
- $this->startDateFieldName = $startDateFieldName;
- $this->endDateFieldName = $endDateFieldName;
- }
- }
|