Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RedirectInterface.php
Go to the documentation of this file.
1 <?php
9 
15 {
16  const PARAM_NAME_REFERER_URL = 'referer_url';
17 
18  const PARAM_NAME_ERROR_URL = 'error_url';
19 
20  const PARAM_NAME_SUCCESS_URL = 'success_url';
21 
27  public function getRefererUrl();
28 
35  public function getRedirectUrl($defaultUrl = null);
36 
43  public function error($defaultUrl);
44 
51  public function success($defaultUrl);
52 
59  public function updatePathParams(array $arguments);
60 
69  public function redirect(\Magento\Framework\App\ResponseInterface $response, $path, $arguments = []);
70 }
$response
Definition: 404.php:11
redirect(\Magento\Framework\App\ResponseInterface $response, $path, $arguments=[])
$arguments