*/ interface CallbackTaskInterface extends TaskInterface { /** * @param callable $callable * @return CallbackTaskInterface */ public function setCallable(callable $callable); /** * @return callable|string */ public function getCallable(); /** * Mark the task as successfully enqueued. * @return CallbackTaskInterface */ public function markAsEnqueued(); /** * @return bool */ public function isEnqueued(); }