Sanitizer.php
29 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @license GPL-2.0-or-later |
| 4 | * |
| 5 | * Modified by impress-org on 21-October-2023 using Strauss. |
| 6 | * @see https://github.com/BrianHenryIE/strauss |
| 7 | */ |
| 8 | |
| 9 | declare(strict_types=1); |
| 10 | |
| 11 | namespace Give\Vendors\StellarWP\Validation\Contracts; |
| 12 | |
| 13 | /** |
| 14 | * Intended to be used as part of a Validation Rule to sanitize data after it is validated. |
| 15 | * |
| 16 | * @since 1.0.0 |
| 17 | */ |
| 18 | interface Sanitizer |
| 19 | { |
| 20 | /** |
| 21 | * @since 1.0.0 |
| 22 | * |
| 23 | * @param mixed $value |
| 24 | * |
| 25 | * @return mixed |
| 26 | */ |
| 27 | public function sanitize($value); |
| 28 | } |
| 29 |