src/Jobs/BaseJob.php
public function setPriority(int $priority): void
    {
        if ($this->client->call('priority', $this->jid, $priority)) {
            parent::setPriority($priority);
        }
    }
public function setPriority(int $priority): void
    {
        if ($this->client->call('priority', $this->jid, $priority)) {
            parent::setPriority($priority);
        }
    }
public function setPriority ( int $ priority ) : void { if ( $ this -> client -> call ( 'priority' , $ this -> jid , $ priority ) ) { parent :: setPriority ( $ priority ) ; } }
Sets Job's priority.

@param  int $priority
@return void

@throws QlessException
@throws RuntimeException
Sets Job s priority .