AttributeSetManagementInterface.php 792 B

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