<?php

namespace Formatrica\Capability\Rules;

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

use Formatrica\Capability\Capabilities;

/** Save-path gate for the Pro dynamic select field (fields.dynamic_select). */
final class Dynamic_Select_Field_Rule extends Pro_Field_Type_Rule
{
    public function capability(): string
    {
        return Capabilities::FIELDS_DYNAMIC_SELECT;
    }

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

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