src/UuidModelTrait.php
/**
     * Resolve the UUID version to use when setting the UUID value. Default to uuid4.
     *
     * @return string
     */
Resolve the UUID version to use when setting the UUID value. Default to uuid4.
@return string
Resolve the UUID version to use when setting the UUID value . Default to uuid4 . @return string
public function resolveUuidVersion(): string
    {
        if (property_exists($this, 'uuidVersion') && in_array($this->uuidVersion, $this->uuidVersions, true)) {
            return $this->uuidVersion;
        }
        return 'uuid4';
    }
public function resolveUuidVersion ( ) : string { if ( property_exists ( $ this , 'uuidVersion' ) && in_array ( $ this -> uuidVersion , $ this -> uuidVersions , true ) ) { return $ this -> uuidVersion ; } return 'uuid4' ; }
Resolve the UUID version to use when setting the UUID value.
Resolve the UUID version to use when setting the UUID value .