Skip to content

v0.12.0 — static Workflow::start()

Latest

Choose a tag to compare

@timmcleod timmcleod released this 31 Jul 11:15

Feature release: class-based workflows start themselves. No schema changes, no migration.

Added

  • Static Workflow::start()ContractReview::start(['contract' => $text], participant: $user) is equivalent to AgentWorkflow::start(ContractReview::class, ...). The static resolves the manager through the container, so AgentWorkflow::fake() records these runs too. The facade remains the way to start string-named workflows.