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
2namespace Apie\DoctrineEntityConverter\Concerns;
3
4use Apie\StorageMetadata\Attributes\GetMethodAttribute;
5use DateTimeImmutable;
6use Doctrine\DBAL\Types\Types;
7use Doctrine\ORM\Mapping\Column;
8
9/**
10 * @see RequiresRecalculatingInterface
11 * @phpstan-ignore trait.unused
12 */
13trait RequiresDomainUpdate
14{
15    #[Column(name: 'requires_update', type: Types::DATETIMETZ_IMMUTABLE, nullable: true)]
16    #[GetMethodAttribute('getDateToRecalculate')]
17    public ?DateTimeImmutable $requiredUpdate = null;
18}