summaryrefslogtreecommitdiff
path: root/tests/temporal/Workflow/SimpleHeartbeatWorkflow.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/temporal/Workflow/SimpleHeartbeatWorkflow.php')
-rw-r--r--tests/temporal/Workflow/SimpleHeartbeatWorkflow.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/temporal/Workflow/SimpleHeartbeatWorkflow.php b/tests/temporal/Workflow/SimpleHeartbeatWorkflow.php
deleted file mode 100644
index c9999cd1..00000000
--- a/tests/temporal/Workflow/SimpleHeartbeatWorkflow.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace Temporal\Tests\Workflow;
-
-use Temporal\Activity\ActivityOptions;
-use Temporal\Workflow;
-use Temporal\Workflow\WorkflowMethod;
-use Temporal\Tests\Activity\HeartBeatActivity;
-
-#[Workflow\WorkflowInterface]
-class SimpleHeartbeatWorkflow
-{
- #[WorkflowMethod(name: 'SimpleHeartbeatWorkflow')]
- public function handler(int $iterations): iterable
- {
- $act = Workflow::newActivityStub(
- HeartBeatActivity::class,
- ActivityOptions::new()->withStartToCloseTimeout(50)
- );
-
- return yield $act->doSomething($iterations);
- }
-}