src/WebApp/Utils/Navigation.php
public static function getCurrentUrl($exceptedArgs = array(), $addedArgs = array(), $anchor = null)
  {
    self::initialize();

    return Url::getCurrentUrl(null, $addedArgs, $exceptedArgs, true, $anchor);
  }
public static function getCurrentUrl($exceptedArgs = array(), $addedArgs = array(), $anchor = null)
  {
    self::initialize();

    return Url::getCurrentUrl(null, $addedArgs, $exceptedArgs, true, $anchor);
  }
public static function getCurrentUrl ( $ exceptedArgs = array ( ) , $ addedArgs = array ( ) , $ anchor = null ) { self :: initialize ( ) ; return Url :: getCurrentUrl ( null , $ addedArgs , $ exceptedArgs , true , $ anchor ) ; }
Return the current url

@param  array  $exceptedArgs  (optional) Arguments to remove from the current url
@param  array  $addedArgs     (optional) Arguments to add to the current url
@param  string $anchor        (optional) Anchor
Return the current url