Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
RequiresDomainUpdate | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | namespace Apie\DoctrineEntityConverter\Concerns; |
3 | |
4 | use Apie\StorageMetadata\Attributes\GetMethodAttribute; |
5 | use DateTimeImmutable; |
6 | use Doctrine\DBAL\Types\Types; |
7 | use Doctrine\ORM\Mapping\Column; |
8 | |
9 | /** |
10 | * @see RequiresRecalculatingInterface |
11 | * @phpstan-ignore trait.unused |
12 | */ |
13 | trait RequiresDomainUpdate |
14 | { |
15 | #[Column(name: 'requires_update', type: Types::DATETIMETZ_IMMUTABLE, nullable: true)] |
16 | #[GetMethodAttribute('getDateToRecalculate')] |
17 | public ?DateTimeImmutable $requiredUpdate = null; |
18 | } |