19 declare(strict_types=1);
49 if (!is_array($from)) {
53 return array_map(
function (
$a) {
54 return $this->trafo->transform(
$a);
__construct(Transformation $trafo)
trait DeriveApplyToFromTransform
trait DeriveInvokeFromTransform
Adds to any array keys for each value.
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples