Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Config.php
Go to the documentation of this file.
1 <?php
8 
10 
14 class Config implements ConfigInterface
15 {
19  private $data;
20 
24  public function __construct(DataInterface $data)
25  {
26  $this->data = $data;
27  }
28 
36  public function get($key = null, $default = null)
37  {
38  return $this->data->get($key, $default);
39  }
40 }
__construct(DataInterface $data)
Definition: Config.php:24