src/UuidModelTrait.php
/**
     * Resolve a UUID instance for the configured version.
     *
     * @return UuidInterface
     */
Resolve a UUID instance for the configured version.
Resolve a UUID instance for the configured version .
public function resolveUuid(): UuidInterface
    {
        if (($version = $this->resolveUuidVersion()) === 'ordered') {
            return Str::orderedUuid();
        }
        return call_user_func([Uuid::class, $version]);
    }
public function resolveUuid ( ) : UuidInterface { if ( ( $ version = $ this -> resolveUuidVersion ( ) ) === 'ordered' ) { return Str :: orderedUuid ( ) ; } return call_user_func ( [ Uuid :: class , $ version ] ) ; }
Resolve a UUID instance for the configured version.
Resolve a UUID instance for the configured version .