1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
declare(strict_types=1);
namespace StellarWP\Validation\Contracts;
/** * Intended to be used as part of a Validation Rule to sanitize data after it is validated. * * @since 1.0.0 */ interface Sanitizer { /** * @since 1.0.0 * * @param mixed $value * * @return mixed */ public function sanitize($value); }
|