counter += $value; } #[WorkflowMethod(name: 'SimpleSignalledWorkflow')] public function handler(): iterable { // collect signals during one second yield Workflow::timer(1); return $this->counter; } }