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
7 
8 class Config
9 {
13  private $_attributeConfig;
14 
18  public function __construct(\Magento\Catalog\Model\Attribute\Config $attributeConfig)
19  {
20  $this->_attributeConfig = $attributeConfig;
21  }
22 
26  public function getProductAttributes()
27  {
28  return $this->_attributeConfig->getAttributeNames('quote_item');
29  }
30 }
__construct(\Magento\Catalog\Model\Attribute\Config $attributeConfig)
Definition: Config.php:18