public function actionExec($id, $ttr, $attempt, $pid)
    {
        if ($this->queue->execute($id, file_get_contents('php://stdin'), $ttr, $attempt, $pid ?: null)) {
            return self::EXEC_DONE;
        }
        return self::EXEC_RETRY;
    }
public function actionExec($id, $ttr, $attempt, $pid)
    {
        if ($this->queue->execute($id, file_get_contents('php://stdin'), $ttr, $attempt, $pid ?: null)) {
            return self::EXEC_DONE;
        }
        return self::EXEC_RETRY;
    }
public function actionExec ( $ id , $ ttr , $ attempt , $ pid ) { if ( $ this -> queue -> execute ( $ id , file_get_contents ( 'php://stdin' ) , $ ttr , $ attempt , $ pid ? : null ) ) { return self :: EXEC_DONE ; } return self :: EXEC_RETRY ; }
Executes a job.
The command is internal, and used to isolate a job execution. Manual usage is not provided.

@param string|null $id of a message
@param int $ttr time to reserve
@param int $attempt number
@param int $pid of a worker
@return int exit code
@internal It is used with isolate mode.
Executes a job . The command is internal and used to isolate a job execution . Manual usage is not provided .