<?php
/**
 * Attribute mapper that is used to build frontend representation of attribute
 *
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
namespace Magento\Catalog\Model\Entity\Product\Attribute\Group;

use Magento\Eav\Model\Entity\Attribute;

/**
 * Interface \Magento\Catalog\Model\Entity\Product\Attribute\Group\AttributeMapperInterface
 *
 */
interface AttributeMapperInterface
{
    /**
     * Map attribute to presentation format
     *
     * @param Attribute $attribute
     * @return array
     */
    public function map(Attribute $attribute);
}
