original_string: public function readUntilStopped()
      {
          while ($this->xmlReader->read()) {
              $nodeType = $this->xmlReader->nodeType;
              $nodeNamePossiblyWithPrefix = $this->xmlReader->name;
              $nodeNameWithoutPrefix = $this->xmlReader->localName;
  
              $callbackData = $this->getRegisteredCallbackData($nodeNamePossiblyWithPrefix, $nodeNameWithoutPrefix, $nodeType);
  
              if ($callbackData !== null) {
                  $callbackResponse = $this->invokeCallback($callbackData, [$this->xmlReader]);
  
                  if ($callbackResponse === self::PROCESSING_STOP) {
                      // stop reading
                      break;
                  }
              }
          }
      }
code: public function readUntilStopped()
      {
          while ($this->xmlReader->read()) {
              $nodeType = $this->xmlReader->nodeType;
              $nodeNamePossiblyWithPrefix = $this->xmlReader->name;
              $nodeNameWithoutPrefix = $this->xmlReader->localName;
  
              $callbackData = $this->getRegisteredCallbackData($nodeNamePossiblyWithPrefix, $nodeNameWithoutPrefix, $nodeType);
  
              if ($callbackData !== null) {
                  $callbackResponse = $this->invokeCallback($callbackData, [$this->xmlReader]);
  
                  if ($callbackResponse === self::PROCESSING_STOP) {
                      // stop reading
                      break;
                  }
              }
          }
      }
code_tokens: public function readUntilStopped ( ) { while ( $ this -> xmlReader -> read ( ) ) { $ nodeType = $ this -> xmlReader -> nodeType ; $ nodeNamePossiblyWithPrefix = $ this -> xmlReader -> name ; $ nodeNameWithoutPrefix = $ this -> xmlReader -> localName ; $ callbackData = $ this -> getRegisteredCallbackData ( $ nodeNamePossiblyWithPrefix , $ nodeNameWithoutPrefix , $ nodeType ) ; if ( $ callbackData !== null ) { $ callbackResponse = $ this -> invokeCallback ( $ callbackData , [ $ this -> xmlReader ] ) ; if ( $ callbackResponse === self :: PROCESSING_STOP ) { // stop reading break ; } } } }
docstring: Resumes the reading of the XML file where it was left off.
  Stops whenever a callback indicates that reading should stop or at the end of the file.
  
  @return void
  @throws \Box\Spout\Reader\Exception\XMLProcessingException
docstring_tokens: Resumes the reading of the XML file where it was left off . Stops whenever a callback indicates that reading should stop or at the end of the file .