8 use \Magento\Framework\Exception\AlreadyExistsException;
67 $this->
name = $setName;
75 public function getAttributeSet()
80 $attributeSet->setEntityTypeId($this->entityTypeId)->load($this->
name,
'attribute_set_name');
98 if (empty($this->
name)) {
99 throw new \InvalidArgumentException();
100 }
elseif (empty($this->skeletonId)) {
101 throw new \InvalidArgumentException();
102 }
elseif (empty($this->entityTypeId)) {
103 throw new \InvalidArgumentException();
setEntityTypeId($entityTypeId)
setSkeletonId($skeletonId)
elseif(isset( $params[ 'redirect_parent']))
__construct(\Magento\Eav\Model\Entity\Attribute\SetFactory $attributeSetFactory)