Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
MapParser.php
Go to the documentation of this file.
1 <?php
7 
9 
10  protected $_mappings = array();
11 
12  function __construct( $mappings, $translations = array(), $pathSuffix)
13  {
14  parent::__construct($translations, $pathSuffix);
15 
16  $this->setMappings($mappings);
17  }
18 
19  public function setMappings($mappings)
20  {
21  $this->_mappings = $this->translatePathMappings($mappings);
22  }
23 
24  public function getMappings()
25  {
26  return $this->_mappings;
27  }
28 
29 }
__construct( $mappings, $translations=array(), $pathSuffix)
Definition: MapParser.php:12