<?php

namespace Formatrica\Capability\Rules;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

use Formatrica\Capability\Capabilities;

/** Save-path gate for the Pro checkbox group field (fields.checkbox_group). */
final class Checkbox_Group_Field_Rule extends Pro_Field_Type_Rule
{
    public function capability(): string
    {
        return Capabilities::FIELDS_CHECKBOX_GROUP;
    }

    protected function field_type(): string
    {
        return 'checkbox_group';
    }

    protected function feature_slug(): string
    {
        return 'checkbox_group_field';
    }
}
