| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | 18 | public function __construct( |
|
| 24 | $aggregateId, |
||
| 25 | string $aggregateClass, |
||
| 26 | \DateTimeImmutable $dateCreated, |
||
| 27 | $authenticatedUserId = null |
||
| 28 | ) |
||
| 29 | { |
||
| 30 | 18 | $this->dateCreated = $this->addTimeZone($dateCreated); |
|
| 31 | 18 | $this->aggregateId = $aggregateId; |
|
| 32 | 18 | $this->authenticatedUserId = $authenticatedUserId; |
|
| 33 | 18 | $this->aggregateClass = $aggregateClass; |
|
| 34 | 18 | } |
|
| 35 | |||
| 61 | } |