We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98e59ae commit 673b3abCopy full SHA for 673b3ab
src/InitiatorDTO.php
@@ -27,11 +27,12 @@ public static function fromScratch(
27
string $userType = '',
28
string $realUserId = '',
29
string $realUserType = '',
30
- string $correlationId = ''
+ string $correlationId = '',
31
+ string $startedAt = ''
32
): static {
33
return new static(
34
correlationId: $correlationId ?: Uuid::uuid4()->toString(),
- startedAt: (new DateTime())->setTimezone(new DateTimeZone("UTC"))->format('Y-m-d\TH:i:s.u\Z'),
35
+ startedAt: $startedAt ?: (new DateTime())->setTimezone(new DateTimeZone("UTC"))->format('Y-m-d\TH:i:s.u\Z'),
36
app: $app,
37
entrypoint: $entrypoint,
38
userId: $userId,
0 commit comments