Legend of the Green Dragon

Sanitize

This class is for sanitize a string For example: sanitize a number or a date.

Tags
deprecated
5.0.0

Table of Contents

$instance  : CoreSanitize
Instance of Sanitize.
__callStatic()  : mixed
Add support for magic static method calls.
instance()  : mixed
Set a instance of Lotgd\Core\Tool\CoreSanitize.

Properties

$instance

Instance of Sanitize.

protected static CoreSanitize $instance

Methods

__callStatic()

Add support for magic static method calls.

public static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
$method : mixed
$arguments : array<string|int, mixed>
Return values
mixed

the returned value from the resolved method

instance()

Set a instance of Lotgd\Core\Tool\CoreSanitize.

public static instance(CoreSanitize $instance) : mixed
Parameters
$instance : CoreSanitize
Return values
mixed

Search results