summaryrefslogtreecommitdiff
path: root/tests/temporal/Workflow/WithChildWorkflow.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/temporal/Workflow/WithChildWorkflow.php')
-rw-r--r--tests/temporal/Workflow/WithChildWorkflow.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/temporal/Workflow/WithChildWorkflow.php b/tests/temporal/Workflow/WithChildWorkflow.php
deleted file mode 100644
index aac0979b..00000000
--- a/tests/temporal/Workflow/WithChildWorkflow.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace Temporal\Tests\Workflow;
-
-use Temporal\Workflow;
-use Temporal\Workflow\WorkflowMethod;
-
-#[Workflow\WorkflowInterface]
-class WithChildWorkflow
-{
- #[WorkflowMethod(name: 'WithChildWorkflow')]
- public function handler(
- string $input
- ): iterable {
- $result = yield Workflow::executeChildWorkflow(
- 'SimpleWorkflow',
- ['child ' . $input],
- Workflow\ChildWorkflowOptions::new()
- );
-
- return 'Child: ' . $result;
- }
-}