src/Url.php
/**
     * Get the user that created the url.
     *
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
Get the user that created the url.
Get the user that created the url .
public function user()
    {
        $provider = config('auth.guards.api.provider');
        return $this->belongsTo(config("auth.providers.{$provider}.model"));
    }
public function user ( ) { $ provider = config ( 'auth.guards.api.provider' ) ; return $ this -> belongsTo ( config ( " auth.providers. { $ provider } .model " ) ) ; }
Get the user that created the url.
Get the user that created the url .