? PHP library to run and orchestrate background jobs with Zenaton Workflow Engine.
intent_id
property when dispatching workflows and tasks, sending events to workflows, and
pausing/resuming/killing workflows.::getContext()
method in Zenatonable
trait that is able to retrieve the runtime context
of the workflow or task currently being executed.Properties
class to never serialize the context
property from tasks and workflows.Client::findWorkflow()
now returns null
instead of throwing an exception when the workflow cannot be found.Zenatonable::dispatch()
on a task outside of a workflow now dispatches the task execution instead of executing it synchronously.Client::ZENATON_API_URL
constant value to https://api.zenaton.com/v1
.Client
now properly encode parameters sent in query strings.Zenaton\Workflow\Version
class is now aliased to avoid namespace shadowing bug in PHP 5.6. See https://bugs.php.net/bug.php?id=66862.Wait::monday()
when already a monday will now wait for the next monday instead of expiring immediately, except when
a specific time is set with ::at()
and is not already past. This behavior is also implemented in related methods
::tuesday()
, ::wednesday()
, ::thursday()
, ::friday()
, ::saturday()
and ::sunday()
, and also in the
::dayOfMonth()
method.