# fluent-cart/1.6.4/api/Validator/FluentMetaValidator.php

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.6.4. 18 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.6.4/code/api/Validator/FluentMetaValidator.php
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.6.4/raw/api/Validator/FluentMetaValidator.php
- Modified: 2025-11-20T13:11:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-cart/1.6.4/code/api/Validator/FluentMetaValidator.php#L10-L20`.

```php
<?php

namespace FluentCart\Api\Validator;

class FluentMetaValidator extends Validation
{
    public static function rules(): array
    {
        return [
            'object_id' => 'integer|min:1',
            'object_type' => 'sanitizeText|maxLength:50',
            //phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key
            'meta_key' => 'sanitizeText|maxLength:192',
        ];
    }
}


```
