Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ConfigValueHandler.php
Go to the documentation of this file.
1 <?php
7 
10 
20 {
24  private $configInterface;
25 
29  public function __construct(
30  ConfigInterface $configInterface
31  ) {
32  $this->configInterface = $configInterface;
33  }
34 
43  public function handle(array $subject, $storeId = null)
44  {
45  return $this->configInterface->getValue(SubjectReader::readField($subject), $storeId);
46  }
47 }