public function to(
        $path = null,
        ?array $query = [],
        ?string $fragment = null,
        bool $trailingSlash = false
    ): string {
        return $this->create(null, $this->appUrl, $path, $query, $fragment, $trailingSlash);
    }
public function to(
        $path = null,
        ?array $query = [],
        ?string $fragment = null,
        bool $trailingSlash = false
    ): string {
        return $this->create(null, $this->appUrl, $path, $query, $fragment, $trailingSlash);
    }
public function to ( $ path = null , ? array $ query = [ ] , ? string $ fragment = null , bool $ trailingSlash = false ) : string { return $ this -> create ( null , $ this -> appUrl , $ path , $ query , $ fragment , $ trailingSlash ) ; }
Create a local url appended to the app url.

@param string|array|null $path
@param array|null        $query
@param null|string       $fragment
@param bool              $trailingSlash
@return string
Create a local url appended to the app url .