public function create(
        ?string $scheme = null,
        ?string $domain = null,
        $path = null,
        ?array $query = [],
        ?string $fragment = null,
        bool $trailingSlash = false
    ): string {
        return $this->make(new UrlSettings([
            'scheme'        => $scheme,
            'domain'        => $domain,
            'path'          => $path,
            'query'         => $query,
            'fragment'      => $fragment,
            'trailingSlash' => $trailingSlash,
        ]));
    }
public function create(
        ?string $scheme = null,
        ?string $domain = null,
        $path = null,
        ?array $query = [],
        ?string $fragment = null,
        bool $trailingSlash = false
    ): string {
        return $this->make(new UrlSettings([
            'scheme'        => $scheme,
            'domain'        => $domain,
            'path'          => $path,
            'query'         => $query,
            'fragment'      => $fragment,
            'trailingSlash' => $trailingSlash,
        ]));
    }
public function create ( ? string $ scheme = null , ? string $ domain = null , $ path = null , ? array $ query = [ ] , ? string $ fragment = null , bool $ trailingSlash = false ) : string { return $ this -> make ( new UrlSettings ( [ 'scheme' => $ scheme , 'domain' => $ domain , 'path' => $ path , 'query' => $ query , 'fragment' => $ fragment , 'trailingSlash' => $ trailingSlash , ] ) ) ; }
Create a url

@param string|null   $scheme
@param string|null   $domain
@param string|array  $path
@param array         $query
@param string|null   $fragment
@param bool          $trailingSlash

@return string|null
Create a url