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

    header('Location: '.self::getCurrentUrl($exceptedArgs, $addedArgs, $anchor));
    exit;
  }
public static function redirectToSame($exceptedArgs = array(), $addedArgs = array(), $anchor = null)
  {
    self::initialize();

    header('Location: '.self::getCurrentUrl($exceptedArgs, $addedArgs, $anchor));
    exit;
  }
public static function redirectToSame ( $ exceptedArgs = array ( ) , $ addedArgs = array ( ) , $ anchor = null ) { self :: initialize ( ) ; header ( 'Location: ' . self :: getCurrentUrl ( $ exceptedArgs , $ addedArgs , $ anchor ) ) ; exit ; }
Redirect to the same page

@param  array  $exceptedArgs  (optional) Arguments to remove during the redirection
@param  array  $addedArgs     (optional) Arguments to add during the redirection
@param  string $anchor        (optional) Anchor
Redirect to the same page