Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Context.php
Go to the documentation of this file.
1 <?php
7 
24 {
28  protected $eavConfig;
29 
33  protected $resource;
34 
39 
43  protected $localeFormat;
44 
48  protected $resourceHelper;
49 
53  protected $universalFactory;
54 
59 
64 
75  public function __construct(
77  \Magento\Eav\Model\Config $eavConfig,
78  \Magento\Eav\Model\Entity\Attribute\Set $attrSetEntity,
79  \Magento\Framework\Locale\FormatInterface $localeFormat,
80  \Magento\Eav\Model\ResourceModel\Helper $resourceHelper,
81  \Magento\Framework\Validator\UniversalFactory $universalFactory,
84  ) {
85  $this->eavConfig = $eavConfig;
86  $this->resource = $resource;
87  $this->attributeSetEntity = $attrSetEntity;
88  $this->localeFormat = $localeFormat;
89  $this->resourceHelper = $resourceHelper;
90  $this->universalFactory = $universalFactory;
91  $this->transactionManager = $transactionManager;
92  $this->objectRelationProcessor = $objectRelationProcessor;
93  }
94 
98  public function getEavConfig()
99  {
100  return $this->eavConfig;
101  }
102 
106  public function getResource()
107  {
108  return $this->resource;
109  }
110 
114  public function getAttributeSetEntity()
115  {
117  }
118 
122  public function getLocaleFormat()
123  {
124  return $this->localeFormat;
125  }
126 
130  public function getResourceHelper()
131  {
132  return $this->resourceHelper;
133  }
134 
138  public function getUniversalFactory()
139  {
141  }
142 
146  public function getObjectRelationProcessor()
147  {
149  }
150 
154  public function getTransactionManager()
155  {
157  }
158 }
__construct(\Magento\Framework\App\ResourceConnection $resource, \Magento\Eav\Model\Config $eavConfig, \Magento\Eav\Model\Entity\Attribute\Set $attrSetEntity, \Magento\Framework\Locale\FormatInterface $localeFormat, \Magento\Eav\Model\ResourceModel\Helper $resourceHelper, \Magento\Framework\Validator\UniversalFactory $universalFactory, \Magento\Framework\Model\ResourceModel\Db\TransactionManagerInterface $transactionManager, \Magento\Framework\Model\ResourceModel\Db\ObjectRelationProcessor $objectRelationProcessor)
Definition: Context.php:75