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