Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
24 | public function queueCreate($entity, Node $node, State $state): ContextCarrierInterface |
||
25 | { |
||
26 | $command = parent::queueCreate($entity, $node, $state); |
||
27 | |||
28 | $state->register('created_at', new \DateTimeImmutable(), true); |
||
29 | $command->register('created_at', new \DateTimeImmutable(), true); |
||
30 | |||
31 | return $command; |
||
32 | } |
||
34 |