A::wrap()
Wraps the given value in an array if it's not an array yet.
A::wrap(mixed|null $array = null): array
Parameters
Name | Type | Default |
---|---|---|
$array | mixed |null |
null |
Return type
array
Wraps the given value in an array if it's not an array yet.
A::wrap(mixed|null $array = null): array
Name | Type | Default |
---|---|---|
$array | mixed |null |
null |
array