/**
  * Get the current URL for the request.
  *
  * @return string
  */
 public function current()
 {
     return $this->to($this->request->getPathInfo());
 }