public function standOnPauseIfMust()
    {
        if ($this->mustStandOnPause) {

            $this->iAmInPause = true;

            while ($this->canContinue === false) {

                $this->logger->info(getmypid() . " come to usleep for microseconds: " . $this->uSleepTime);
                usleep($this->uSleepTime);
                $this->logger->info(getmypid() . " wake up and start check subscription.");
                $this->checkSubscription();

                $this->logger->info(getmypid() . " _CONTINUE_ from infinity while. CanContinue: "
                    . serialize($this->canContinue));
            }

            $this->continueExecution();
        }

        return null;
    }
public function standOnPauseIfMust()
    {
        if ($this->mustStandOnPause) {

            $this->iAmInPause = true;

            while ($this->canContinue === false) {

                $this->logger->info(getmypid() . " come to usleep for microseconds: " . $this->uSleepTime);
                usleep($this->uSleepTime);
                $this->logger->info(getmypid() . " wake up and start check subscription.");
                $this->checkSubscription();

                $this->logger->info(getmypid() . " _CONTINUE_ from infinity while. CanContinue: "
                    . serialize($this->canContinue));
            }

            $this->continueExecution();
        }

        return null;
    }
public function standOnPauseIfMust ( ) { if ( $ this -> mustStandOnPause ) { $ this -> iAmInPause = true ; while ( $ this -> canContinue === false ) { $ this -> logger -> info ( getmypid ( ) . " come to usleep for microseconds: " . $ this -> uSleepTime ) ; usleep ( $ this -> uSleepTime ) ; $ this -> logger -> info ( getmypid ( ) . " wake up and start check subscription." ) ; $ this -> checkSubscription ( ) ; $ this -> logger -> info ( getmypid ( ) . " _CONTINUE_ from infinity while. CanContinue: " . serialize ( $ this -> canContinue ) ) ; } $ this -> continueExecution ( ) ; } return null ; }
Go into infinite loop with periodic checking of the subscription if it allows to continue
@return mixed
Go into infinite loop with periodic checking of the subscription if it allows to continue