src/Shell/CakeResqueShell.php
public function resume()
    {
        $ResqueStatus = $this->ResqueStatus;

        $actionMessage = function ($pid) {
            return __d('cake_resque', 'Resuming {0} ... ', $pid);
        };

        $successCallback = function ($worker) use ($ResqueStatus) {
            $ResqueStatus->setPausedWorker((string)$worker, false);
        };

        return $this->_sendSignal(
            __d('cake_resque', 'Resuming workers'),
            $ResqueStatus->getPausedWorker(),
            __d('cake_resque', 'There is no paused workers to resume ...'),
            __d('cake_resque', 'Paused workers list'),
            __d('cake_resque', 'Resume all workers'),
            __d('cake_resque', 'Worker to resume'),
            __d('cake_resque', 'Resuming the Scheduler Worker ... '),
            $actionMessage,
            null,
            $successCallback,
            'CONT'
        );
    }
public function resume()
    {
        $ResqueStatus = $this->ResqueStatus;

        $actionMessage = function ($pid) {
            return __d('cake_resque', 'Resuming {0} ... ', $pid);
        };

        $successCallback = function ($worker) use ($ResqueStatus) {
            $ResqueStatus->setPausedWorker((string)$worker, false);
        };

        return $this->_sendSignal(
            __d('cake_resque', 'Resuming workers'),
            $ResqueStatus->getPausedWorker(),
            __d('cake_resque', 'There is no paused workers to resume ...'),
            __d('cake_resque', 'Paused workers list'),
            __d('cake_resque', 'Resume all workers'),
            __d('cake_resque', 'Worker to resume'),
            __d('cake_resque', 'Resuming the Scheduler Worker ... '),
            $actionMessage,
            null,
            $successCallback,
            'CONT'
        );
    }
public function resume ( ) { $ ResqueStatus = $ this -> ResqueStatus ; $ actionMessage = function ( $ pid ) { return __d ( 'cake_resque' , 'Resuming {0} ... ' , $ pid ) ; } ; $ successCallback = function ( $ worker ) use ( $ ResqueStatus ) { $ ResqueStatus -> setPausedWorker ( ( string ) $ worker , false ) ; } ; return $ this -> _sendSignal ( __d ( 'cake_resque' , 'Resuming workers' ) , $ ResqueStatus -> getPausedWorker ( ) , __d ( 'cake_resque' , 'There is no paused workers to resume ...' ) , __d ( 'cake_resque' , 'Paused workers list' ) , __d ( 'cake_resque' , 'Resume all workers' ) , __d ( 'cake_resque' , 'Worker to resume' ) , __d ( 'cake_resque' , 'Resuming the Scheduler Worker ... ' ) , $ actionMessage , null , $ successCallback , 'CONT' ) ; }
Resume paused workers.

On supported system, will ask the user to choose the worker to resume, from a list
of workers, if more than one worker is running, or if --all is not passed.

Note: The workers status is conveniently stored by ResqueStatus.

@since 2.0.0
@return void
@see CakeResqueShell::_sendSignal()
@see ResqueStatus\ResqueStatus::getPausedWorker()
@see ResqueStatus\ResqueStatus::setPausedWorker()
Resume paused workers .