class Sanitize (View source)

Methods

static mixed
make(mixed $data, bool $secure = false)

To clean the data

static string
data(string $data)

Allows you to clean a string of characters

static string
secure(string $data)

Allows you to clean a string of characters

Details

static mixed make(mixed $data, bool $secure = false)

To clean the data

Parameters

mixed $data
bool $secure

Return Value

mixed

static string data(string $data)

Allows you to clean a string of characters

Parameters

string $data

Return Value

string

static string secure(string $data)

Allows you to clean a string of characters

Parameters

string $data

Return Value

string