Smalot\Magento\Catalog\ProductAttribute::addOption PHP Method

addOption() public method

Allows you to add a new option for attributes with selectable fields.
public addOption ( string $attribute, array $data ) : Smalot\Magento\ActionInterface
$attribute string
$data array
return Smalot\Magento\ActionInterface
    public function addOption($attribute, $data)
    {
        return $this->__createAction('product_attribute.addOption', func_get_args());
    }