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

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

@return string UUID

@throws Exception
Generates a new UUID