Beispiel #1
0
 public function generateUrl($parameters = [])
 {
     // Generate our needed parameters
     $parameters = array_merge($this->getCurrentInput(), $parameters);
     // Grab the current URL
     $path = URL::getRequest()->path();
     return url($path . '/?' . http_build_query($parameters));
 }