original_string: public function getBatchSerial($namespace)
      {
          if (empty($this->serials[$namespace])) {
              $batch = $this->getBatch($namespace);
              unset($batch['DefinitionRev']);
              $this->serials[$namespace] = sha1(serialize($batch));
          }
          return $this->serials[$namespace];
      }
code: public function getBatchSerial($namespace)
      {
          if (empty($this->serials[$namespace])) {
              $batch = $this->getBatch($namespace);
              unset($batch['DefinitionRev']);
              $this->serials[$namespace] = sha1(serialize($batch));
          }
          return $this->serials[$namespace];
      }
code_tokens: public function getBatchSerial ( $ namespace ) { if ( empty ( $ this -> serials [ $ namespace ] ) ) { $ batch = $ this -> getBatch ( $ namespace ) ; unset ( $ batch [ 'DefinitionRev' ] ) ; $ this -> serials [ $ namespace ] = sha1 ( serialize ( $ batch ) ) ; } return $ this -> serials [ $ namespace ] ; }
docstring: Returns a SHA-1 signature of a segment of the configuration object
  that uniquely identifies that particular configuration
  
  @param string $namespace Namespace to get serial for
  
  @return string
  @note Revision is handled specially and is removed from the batch
  before processing!
docstring_tokens: Returns a SHA - 1 signature of a segment of the configuration object that uniquely identifies that particular configuration