Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Data.php
Go to the documentation of this file.
1 <?php
12 
17 {
21  const PRIVATE_MAX_AGE_CACHE = 31536000;
22 
26  protected $config;
27 
31  public function __construct(\Magento\Framework\Session\Config $config)
32  {
34  }
35 
43  public function getUrl($route, array $params = [])
44  {
45  return $this->_getUrl($route, $params);
46  }
47 
51  public function getDomain()
52  {
53  return $this->config->getValidDomain();
54  }
55 }
__construct(\Magento\Framework\Session\Config $config)
Definition: Data.php:31
getUrl($route, array $params=[])
Definition: Data.php:43
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_CODE]
Definition: website.php:18