original_string: protected function extractNumberFormats($xmlReader)
      {
          while ($xmlReader->read()) {
              if ($xmlReader->isPositionedOnStartingNode(self::XML_NODE_NUM_FMT)) {
                  $numFmtId = intval($xmlReader->getAttribute(self::XML_ATTRIBUTE_NUM_FMT_ID));
                  $formatCode = $xmlReader->getAttribute(self::XML_ATTRIBUTE_FORMAT_CODE);
                  $this->customNumberFormats[$numFmtId] = $formatCode;
              } else if ($xmlReader->isPositionedOnEndingNode(self::XML_NODE_NUM_FMTS)) {
                  // Once done reading "numFmts" node's children
                  break;
              }
          }
      }
code: protected function extractNumberFormats($xmlReader)
      {
          while ($xmlReader->read()) {
              if ($xmlReader->isPositionedOnStartingNode(self::XML_NODE_NUM_FMT)) {
                  $numFmtId = intval($xmlReader->getAttribute(self::XML_ATTRIBUTE_NUM_FMT_ID));
                  $formatCode = $xmlReader->getAttribute(self::XML_ATTRIBUTE_FORMAT_CODE);
                  $this->customNumberFormats[$numFmtId] = $formatCode;
              } else if ($xmlReader->isPositionedOnEndingNode(self::XML_NODE_NUM_FMTS)) {
                  // Once done reading "numFmts" node's children
                  break;
              }
          }
      }
code_tokens: protected function extractNumberFormats ( $ xmlReader ) { while ( $ xmlReader -> read ( ) ) { if ( $ xmlReader -> isPositionedOnStartingNode ( self :: XML_NODE_NUM_FMT ) ) { $ numFmtId = intval ( $ xmlReader -> getAttribute ( self :: XML_ATTRIBUTE_NUM_FMT_ID ) ) ; $ formatCode = $ xmlReader -> getAttribute ( self :: XML_ATTRIBUTE_FORMAT_CODE ) ; $ this -> customNumberFormats [ $ numFmtId ] = $ formatCode ; } else if ( $ xmlReader -> isPositionedOnEndingNode ( self :: XML_NODE_NUM_FMTS ) ) { // Once done reading "numFmts" node's children break ; } } }
docstring: Extracts number formats from the "numFmt" nodes.
  For simplicity, the styles attributes are kept in memory. This is possible thanks
  to the reuse of formats. So 1 million cells should not use 1 million formats.
  
  @param \Box\Spout\Reader\Wrapper\XMLReader $xmlReader XML Reader positioned on the "numFmts" node
  @return void
docstring_tokens: Extracts number formats from the numFmt nodes . For simplicity the styles attributes are kept in memory . This is possible thanks to the reuse of formats . So 1 million cells should not use 1 million formats .