FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cli/src/Support/ExternalTaskInput.php at main · durable-workflow/cli · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
durable-workflow
/
cli
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cli
/
src
/
Support
/
ExternalTaskInput.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
39 lines (34 loc) · 1.02 KB
Breadcrumbs
cli
/
src
/
Support
/
ExternalTaskInput.php
Copy path
File metadata and controls
39 lines (34 loc) · 1.02 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
declare
(strict_types=
1
);
namespace
DurableWorkflow
\
Cli
\
Support
;
final
class
ExternalTaskInput
{
/**
* @param array<string, mixed> $task
* @param array<string, mixed> $workflow
* @param array<string, mixed> $lease
* @param array<string, mixed> $payloads
* @param array<string, mixed> $headers
* @param array<string, mixed>|null $deadlines
* @param array<string, mixed>|null $history
*/
public
function
__construct
(
public
readonly
string
$
kind
,
public
readonly
array
$
task
,
public
readonly
array
$
workflow
,
public
readonly
array
$
lease
,
public
readonly
array
$
payloads
,
public
readonly
array
$
headers
,
public
readonly
?
array
$
deadlines
=
null
,
public
readonly
?
array
$
history
=
null
,
) {
}
public
function
isActivityTask
():
bool
{
return
$
this
->
kind
===
'
activity_task
'
;
}
public
function
isWorkflowTask
():
bool
{
return
$
this
->
kind
===
'
workflow_task
'
;
}
}
Back
|
FazBrowse Home
|
New Git URL