TransformerInterface
Table of Contents
Methods
-
transform()
: mixed|null
-
transformAll()
: array<string|int, mixed>
-
validate()
: bool|array<string|int, mixed>
-
validateAll()
: bool|array<string|int, mixed>
public
transform(mixed|null $data[, array<string|int, mixed>|null $options = [] ]) : mixed|null
Parameters
-
$data
: mixed|null
-
-
$options
: array<string|int, mixed>|null
= []
-
public
transformAll(array<string|int, mixed> $collection[, array<string|int, mixed>|null $options = [] ]) : array<string|int, mixed>
Parameters
-
$collection
: array<string|int, mixed>
-
-
$options
: array<string|int, mixed>|null
= []
-
Return values
array<string|int, mixed>
validate()
public
validate(mixed|null $data[, array<string|int, mixed>|null $options = [] ]) : bool|array<string|int, mixed>
Parameters
-
$data
: mixed|null
-
-
$options
: array<string|int, mixed>|null
= []
-
Return values
bool|array<string|int, mixed>
validateAll()
public
validateAll(array<string|int, mixed> $collection[, array<string|int, mixed>|null $options = [] ]) : bool|array<string|int, mixed>
Parameters
-
$collection
: array<string|int, mixed>
-
-
$options
: array<string|int, mixed>|null
= []
-
Return values
bool|array<string|int, mixed>