You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Show helper-style imports in v2 workflow scaffolding
The v2 authoring API supports two equivalent styles: namespaced helpers
(the primary API, `use function Workflow\V2\activity;`) and the static
facade (`Workflow::activity()`). The scaffolded workflow stub previously
only demonstrated the static facade, which made helper-style imports
feel secondary even though most authors and test fixtures use them.
Update the `make:workflow --v2` stub to show helper-style imports and
calls in the inline example, and cover the new content in the existing
`WorkflowMakeCommand` test. The static facade is still mentioned as an
equivalent alternative for teams that prefer Temporal-style calls.
0 commit comments