1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Analytics\ReportXml;
- use Magento\Framework\Config\DataInterface;
- /**
- * Config of ReportXml
- */
- class Config implements ConfigInterface
- {
- /**
- * @var DataInterface
- */
- private $data;
- /**
- * Config constructor.
- *
- * @param DataInterface $data
- */
- public function __construct(
- DataInterface $data
- ) {
- $this->data = $data;
- }
- /**
- * Returns config value by name
- *
- * @param string $queryName
- * @return array
- */
- public function get($queryName)
- {
- return $this->data->get($queryName);
- }
- }
|