Worker::shutdownShutdown the worker Description
public bool Worker::shutdown
( void
)
Shuts down the worker after executing all of the stacked tasks. ParametersThis function has no parameters. Return ValuesWhether the worker was successfully shutdown or not. Examples
Example #1 Shutdown the referenced worker
<?php The above example will output: bool(true) |