public function getUri(): string
    {
        foreach ($this->getParameterArray() as $parameter) {
            if (property_exists($this, $parameter)) {
                if (isset($this->$parameter)) {
                    $this->uri = str_replace('{' . $parameter . '}', $this->$parameter, $this->uri);
                } else {
                    $this->uri = str_replace('&'. $parameter . '={' . $parameter . '}', '', $this->uri);
                }
            }
        }
        foreach ($this->extraParameters as $parameter => $function) {
            $this->uri = str_replace('{' . $parameter . '}', $this->$function(), $this->uri);
        }
        return $this->uri;
    }
public function getUri(): string
    {
        foreach ($this->getParameterArray() as $parameter) {
            if (property_exists($this, $parameter)) {
                if (isset($this->$parameter)) {
                    $this->uri = str_replace('{' . $parameter . '}', $this->$parameter, $this->uri);
                } else {
                    $this->uri = str_replace('&'. $parameter . '={' . $parameter . '}', '', $this->uri);
                }
            }
        }
        foreach ($this->extraParameters as $parameter => $function) {
            $this->uri = str_replace('{' . $parameter . '}', $this->$function(), $this->uri);
        }
        return $this->uri;
    }
public function getUri ( ) : string { foreach ( $ this -> getParameterArray ( ) as $ parameter ) { if ( property_exists ( $ this , $ parameter ) ) { if ( isset ( $ this -> $ parameter ) ) { $ this -> uri = str_replace ( '{' . $ parameter . '}' , $ this -> $ parameter , $ this -> uri ) ; } else { $ this -> uri = str_replace ( '&' . $ parameter . '={' . $ parameter . '}' , '' , $ this -> uri ) ; } } } foreach ( $ this -> extraParameters as $ parameter => $ function ) { $ this -> uri = str_replace ( '{' . $ parameter . '}' , $ this -> $ function ( ) , $ this -> uri ) ; } return $ this -> uri ; }
Create direct query link via replacing uri

@return string
Create direct query link via replacing uri