Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
PageParser.php
Go to the documentation of this file.
1 <?php
7 
10 
14 class PageParser implements ParserInterface
15 {
21  protected $objectManager;
22 
28  protected $configData;
29 
36  {
37  $this->objectManager = $objectManager;
38  $this->configData = $configData;
39  }
40 
46  public function getData($type)
47  {
48  return $this->configData->get($type);
49  }
50 }
$type
Definition: item.phtml:13
__construct(ObjectManagerInterface $objectManager, DataInterface $configData)
Definition: PageParser.php:35