AttributeSetManagementInterface.php 667 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Catalog\Api;
  8. /**
  9. * @api
  10. * @since 100.0.2
  11. */
  12. interface AttributeSetManagementInterface
  13. {
  14. /**
  15. * Create attribute set from data
  16. *
  17. * @param \Magento\Eav\Api\Data\AttributeSetInterface $attributeSet
  18. * @param int $skeletonId
  19. * @return \Magento\Eav\Api\Data\AttributeSetInterface
  20. * @throws \Magento\Framework\Exception\InputException
  21. * @throws \Magento\Framework\Exception\NoSuchEntityException
  22. */
  23. public function create(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet, $skeletonId);
  24. }