public function status($numerator, $denominator)
    {
        if (!count($this->callback[self::TASK_STATUS])) {
            return;
        }

        foreach ($this->callback[self::TASK_STATUS] as $callback) {
            call_user_func($callback,
                           $this->func,
                           $this->handle,
                           $numerator,
                           $denominator);
        }
    }
public function status($numerator, $denominator)
    {
        if (!count($this->callback[self::TASK_STATUS])) {
            return;
        }

        foreach ($this->callback[self::TASK_STATUS] as $callback) {
            call_user_func($callback,
                           $this->func,
                           $this->handle,
                           $numerator,
                           $denominator);
        }
    }
public function status ( $ numerator , $ denominator ) { if ( ! count ( $ this -> callback [ self :: TASK_STATUS ] ) ) { return ; } foreach ( $ this -> callback [ self :: TASK_STATUS ] as $ callback ) { call_user_func ( $ callback , $ this -> func , $ this -> handle , $ numerator , $ denominator ) ; } }
Run the status callbacks.

Status callbacks are passed the name of the job, handle of the job and
the numerator/denominator as the arguments (in that order).

@param int $numerator   The numerator from the status
@param int $denominator The denominator from the status

@see \MHlavac\Gearman\Task::attachCallback()
Run the status callbacks .