Table of Contents
Methods
-
clean()
: array<string|int, mixed>|string
-
cleanList()
: array<string|int, mixed>
-
cleanString()
: string
-
flatten()
: array<string|int, mixed>
-
format()
: mixed
-
isInt()
: bool
-
join()
: string
-
match()
: array<string|int, mixed>
-
merge()
: array<string|int, mixed>
-
rekey()
: array<string|int, mixed>
-
removeEmpty()
: array<string|int, mixed>
-
split()
: array<string|int, mixed>
-
stringToArray()
: array<string|int, mixed>
-
stringToList()
: array<string|int, mixed>
clean()
public
static clean(string|array<string|int, mixed> $subject) : array<string|int, mixed>|string
Parameters
-
$subject
: string|array<string|int, mixed>
-
Return values
array<string|int, mixed>|string
cleanList()
public
static cleanList(array<string|int, mixed> $list) : array<string|int, mixed>
Parameters
-
$list
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
cleanString()
public
static cleanString(string $subject) : string
Parameters
-
$subject
: string
-
flatten()
public
static flatten(array<string|int, mixed> $list) : array<string|int, mixed>
Parameters
-
$list
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
public
static format(mixed $value, string $type) : mixed
Parameters
-
$value
: mixed
-
-
$type
: string
-
isInt()
public
static isInt(int|float|string $subject) : bool
Parameters
-
$subject
: int|float|string
-
join()
public
static join(array<string|int, mixed> $list[, string $delimeter = ',' ]) : string
Parameters
-
$list
: array<string|int, mixed>
-
-
$delimeter
: string
= ','
-
match()
public
static match(string $pattern, string $subject) : array<string|int, mixed>
Parameters
-
$pattern
: string
-
-
$subject
: string
-
Return values
array<string|int, mixed>
merge()
public
static merge(array<string|int, mixed> ...$lists) : array<string|int, mixed>
Parameters
-
$lists
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
rekey()
public
static rekey(array<string|int, mixed> $records, string $field) : array<string|int, mixed>
Parameters
-
$records
: array<string|int, mixed>
-
-
$field
: string
-
Return values
array<string|int, mixed>
removeEmpty()
public
static removeEmpty(array<string|int, mixed> $list) : array<string|int, mixed>
Parameters
-
$list
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
split()
public
static split(string $subject[, string $delimeter = ',' ]) : array<string|int, mixed>
Parameters
-
$subject
: string
-
-
$delimeter
: string
= ','
-
Return values
array<string|int, mixed>
stringToArray()
public
static stringToArray(string|array<string|int, mixed> $subject) : array<string|int, mixed>
Parameters
-
$subject
: string|array<string|int, mixed>
-
Return values
array<string|int, mixed>
stringToList()
public
static stringToList(string|array<string|int, mixed> $subject[, string $delimeter = ',' ]) : array<string|int, mixed>
Parameters
-
$subject
: string|array<string|int, mixed>
-
-
$delimeter
: string
= ','
-
Return values
array<string|int, mixed>