public function attempts()
    {
        $stats = $this->pheanstalk->statsJob($this->job);

        return (int) $stats->reserves;
    }
public function attempts()
    {
        $stats = $this->pheanstalk->statsJob($this->job);

        return (int) $stats->reserves;
    }
public function attempts ( ) { $ stats = $ this -> pheanstalk -> statsJob ( $ this -> job ) ; return ( int ) $ stats -> reserves ; }
Get the number of times the job has been attempted.

@return int
Get the number of times the job has been attempted .