public static function instantiate(AttributeContract $attribute, $value)
    {
        if (! $attribute->supportsValues()) {
            throw new AttributeMustSupportValues();
        }

        return new static([
            'attribute_id' => $attribute->id,
            'value' => $value,
        ]);
    }