How to create an attribute set programmatically with the \Magento\Catalog\Model\Product\AttributeSet\Build?

A usage example

How does it work?

See also: