PHP code example of dmatthew / magento2-attribute-description

1. Go to this page and download the library: Download dmatthew/magento2-attribute-description library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

dmatthew / magento2-attribute-description example snippets


/** @var $attribute Dmatthew\AttributeDescription\Model\Entity\Attribute **/
$description = $attribute->getStoreDescription($storeId);