diff --git a/src/Queue/Server.php b/src/Queue/Server.php index 4230c22..f43d6a5 100644 --- a/src/Queue/Server.php +++ b/src/Queue/Server.php @@ -332,6 +332,15 @@ public function workerStart(): Hook return $hook; } + /** + * Returns Worker starts hook. + * @return Hook + */ + public function getWorkerStart(): Hook + { + return $this->workerStartHook; + } + /** * Is called when a Worker stops. * @param callable $callback