Job/ProcessControl/StatusController.php
public function doStop()
    {
        $time = time();
        if (null === $this->lastCheck || (($this->lastCheck + $this->interval) <= $time)) {
            $this->lastCheck = $time;
            $this->manager->refresh($this->job);
        }

        return $this->job->getStatus() == Status::CANCELLING() || $this->job->getStatus() == Status::CANCELLED();
    }
public function doStop()
    {
        $time = time();
        if (null === $this->lastCheck || (($this->lastCheck + $this->interval) <= $time)) {
            $this->lastCheck = $time;
            $this->manager->refresh($this->job);
        }

        return $this->job->getStatus() == Status::CANCELLING() || $this->job->getStatus() == Status::CANCELLED();
    }
public function doStop ( ) { $ time = time ( ) ; if ( null === $ this -> lastCheck || ( ( $ this -> lastCheck + $ this -> interval ) <= $ time ) ) { $ this -> lastCheck = $ time ; $ this -> manager -> refresh ( $ this -> job ) ; } return $ this -> job -> getStatus ( ) == Status :: CANCELLING ( ) || $ this -> job -> getStatus ( ) == Status :: CANCELLED ( ) ; }
{@inheritdoc}
{