src/Router.php
public function refresh($query = null, $fragment = '')
    {
        if (! isset($query)) {
            $query = $this->request->query;
        }
        return $this->redirectPath($this->request->path, $query, $fragment);
    }
public function refresh($query = null, $fragment = '')
    {
        if (! isset($query)) {
            $query = $this->request->query;
        }
        return $this->redirectPath($this->request->path, $query, $fragment);
    }
public function refresh ( $ query = null , $ fragment = '' ) { if ( ! isset ( $ query ) ) { $ query = $ this -> request -> query ; } return $ this -> redirectPath ( $ this -> request -> path , $ query , $ fragment ) ; }
Create a refresh response.

@param array $query Optional new query parameters.
@param string $fragment Optional fragment.
@return ResponseInterface A refresh response.
Create a refresh response .