| 1 |
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?> |
| 2 |
<?php |
| 3 |
|
| 4 |
use FluentCart\Framework\Validator\Rule; |
| 5 |
|
| 6 |
Rule::add('sanitizeTextArea', \FluentCart\App\Http\Rules\SanitizeTextArea::class); |
| 7 |
Rule::add('sanitizeText', \FluentCart\App\Http\Rules\SanitizeText::class); |
| 8 |
Rule::add('maxPostCode', \FluentCart\App\Http\Rules\MaxPostCodeRule::class); |
| 9 |
Rule::add('maxLength', \FluentCart\App\Http\Rules\MaxLengthRule::class); |