Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
StoreConfigResolver.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
14 
19 {
23  private $storeConfigDataProvider;
24 
28  public function __construct(
29  StoreConfigDataProvider $storeConfigDataProvider
30  ) {
31  $this->storeConfigDataProvider = $storeConfigDataProvider;
32  }
33 
37  public function resolve(
38  Field $field,
39  $context,
41  array $value = null,
42  array $args = null
43  ) {
44 
45  $storeConfigData = $this->storeConfigDataProvider->getStoreConfig();
46  return $storeConfigData;
47  }
48 }
__construct(StoreConfigDataProvider $storeConfigDataProvider)
resolve(Field $field, $context, ResolveInfo $info, array $value=null, array $args=null)
$value
Definition: gender.phtml:16
foreach( $_productCollection as $_product)() ?>" class $info
Definition: listing.phtml:52