cancelParentActions = $toAction; return $this; } public function shouldCancelAllParentActions(): bool { return $this->evaluate($this->cancelParentActions) === true; } public function getParentActionToCancelTo(): ?string { return $this->evaluate($this->cancelParentActions); } }