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];
    }
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];
    }
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 ] ; }
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!
Returns a SHA - 1 signature of a segment of the configuration object that uniquely identifies that particular configuration