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