Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Forward.php
Go to the documentation of this file.
1 <?php
7 
12 
18 {
22  protected $session;
23 
27  protected $actionFlag;
28 
35  {
36  $this->session = $session;
37  $this->actionFlag = $actionFlag;
38  parent::__construct($request);
39  }
40 
45  public function forward($action)
46  {
47  $this->session->setIsUrlNotice($this->actionFlag->get('', AbstractAction::FLAG_IS_URLS_CHECKED));
48  return parent::forward($action);
49  }
50 }
__construct(RequestInterface $request, Session $session, ActionFlag $actionFlag)
Definition: Forward.php:34