Skip to content

BaseTransformer


Methods

recursiveUnset

protected recursiveUnset(array& $array, array $unwantedKey): void

Parameters:

Parameter Type Description
$array array
$unwantedKey array

recursiveSetValues

protected recursiveSetValues(array& $array): void

Parameters:

Parameter Type Description
$array array

recursiveFlattenOneElementObjectsToScalarType

protected recursiveFlattenOneElementObjectsToScalarType(array& $array, mixed|null $parentKey = null, mixed|null $currentKey = null): void

Parameters:

Parameter Type Description
$array array
$parentKey mixed|null
$currentKey mixed|null

unserialize

public unserialize(mixed $value): array

Parameters:

Parameter Type Description
$value mixed

Throws: