private function stopHeartbeat()
    {
        if ($this->hTimer !== null)
        {
            $this->hTimer->cancel();
            $this->hTimer = null;
        }
    }
private function stopHeartbeat()
    {
        if ($this->hTimer !== null)
        {
            $this->hTimer->cancel();
            $this->hTimer = null;
        }
    }
private function stopHeartbeat ( ) { if ( $ this -> hTimer !== null ) { $ this -> hTimer -> cancel ( ) ; $ this -> hTimer = null ; } }
Stop hearbeat.
Stop hearbeat .