<?php

namespace Formatrica\Capability\Rules;

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

use Formatrica\Capability\Capabilities;

/** Save-path gate for the Pro multi-file upload field (fields.multi_file). */
final class Multi_File_Field_Rule extends Pro_Field_Type_Rule
{
    public function capability(): string
    {
        return Capabilities::FIELDS_MULTI_FILE;
    }

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

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