/** * Execute the job. * * @return void */ public function handle() { if ($this->attempts() > 2) { $this->release(); } else { //move to a new position $this->repo->move($this->item, $this->new_position); } }