static function redirect($uri) {
        // Check first if given string is a valid URL 
        if (!filter_var($uri, FILTER_VALIDATE_URL)) {
            throw new \Lollipop\Exception\Argument('URL is invalid', true);
        }
        
        header('location: ' . $uri);
        exit();
    }
static function redirect($uri) {
        // Check first if given string is a valid URL 
        if (!filter_var($uri, FILTER_VALIDATE_URL)) {
            throw new \Lollipop\Exception\Argument('URL is invalid', true);
        }
        
        header('location: ' . $uri);
        exit();
    }
static function redirect ( $ uri ) { // Check first if given string is a valid URL 
 if ( ! filter_var ( $ uri , FILTER_VALIDATE_URL ) ) { throw new \ Lollipop \ Exception \ Argument ( 'URL is invalid' , true ) ; } header ( 'location: ' . $ uri ) ; exit ( ) ; }
Redirect page to another urldecode

@access  public
@param   string     $uri    Web address
@throws  \Lollipop\Exception\Argument
@return  void
Redirect page to another urldecode