public function toString(bool $compact = false): string
    {
        if ($compact) {
            return \bin2hex($this->value);
        }
        
        return \vsprintf('%s%s-%s-%s-%s-%s%s%s', \str_split(\bin2hex($this->value), 4));
    }
public function toString(bool $compact = false): string
    {
        if ($compact) {
            return \bin2hex($this->value);
        }
        
        return \vsprintf('%s%s-%s-%s-%s-%s%s%s', \str_split(\bin2hex($this->value), 4));
    }
public function toString ( bool $ compact = false ) : string { if ( $ compact ) { return \ bin2hex ( $ this -> value ) ; } return \ vsprintf ( '%s%s-%s-%s-%s-%s%s%s' , \ str_split ( \ bin2hex ( $ this -> value ) , 4 ) ) ; }
Dump the UUID as a string.

@param bool $compact Dump UUID without dashes?
Dump the UUID as a string .