UI
2 years ago
Escape.php
3 years ago
Facade.php
3 years ago
Hooks.php
2 years ago
PhpAdapter.php
2 years ago
Sanitize.php
3 years ago
Sanitize.php
28 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WPStaging\Framework\Facades; |
| 4 | |
| 5 | use WPStaging\Framework\Utils\Sanitize as UtilsSanitize; |
| 6 | |
| 7 | /** |
| 8 | * @method static array|string sanitizeString(array|string $value) |
| 9 | * @method static array|string sanitizePassword(string $value) |
| 10 | * @method static int sanitizeInt(string $value) |
| 11 | * @method static bool sanitizeBool(int|bool|string $value) |
| 12 | * @method static string sanitizeEmail(string $value) |
| 13 | * @method static string sanitizePath(string $value) |
| 14 | * @method static string htmlDecodeAndSanitize(string $value) |
| 15 | * @method static array sanitizeFileUpload(array $value) |
| 16 | * @method static array sanitizeExcludeRules(string $value) |
| 17 | * @method static array sanitizeArrayInt(array $value) |
| 18 | * @method static array sanitizeArray(array $value, array $config) |
| 19 | * @method static string decodeBase64AndSanitize(string $value) |
| 20 | */ |
| 21 | class Sanitize extends Facade |
| 22 | { |
| 23 | protected static function getFacadeAccessor() |
| 24 | { |
| 25 | return UtilsSanitize::class; |
| 26 | } |
| 27 | } |
| 28 |