CreatedAt   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 5
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
/**
3
 *
4
 * This file is part of the Aggrego.
5
 * (c) Tomasz Kunicki <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 *
10
 */
11
12
declare(strict_types = 1);
13
14
namespace Aggrego\EventConsumer\Event;
15
16
use DateTimeImmutable;
17
use TimiTao\ValueObject\Utils\TimestampValueObject;
18
19
class CreatedAt extends TimestampValueObject
20
{
21
    public function __construct(DateTimeImmutable $dateTimeImmutable)
22
    {
23
        parent::__construct(self::class, $dateTimeImmutable);
24
    }
25
}
26