public function generate(DocumentManager $dm, $document)
    {
        $UUID = $this->generateV4();

        return $this->generateV5($UUID, $this->salt ?: php_uname('n'));
    }
public function generate(DocumentManager $dm, $document)
    {
        $UUID = $this->generateV4();

        return $this->generateV5($UUID, $this->salt ?: php_uname('n'));
    }
public function generate ( DocumentManager $ dm , $ document ) { $ UUID = $ this -> generateV4 ( ) ; return $ this -> generateV5 ( $ UUID , $ this -> salt ? : php_uname ( 'n' ) ) ; }
Generate a new UUID.

@param DocumentManager $dm       Not used
@param object          $document Not used

@return string
Generate a new UUID .