Supported Versions: PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8
Applies the callback to the elements of the given arrays
<?php array_map(?callable $callback, array $array, array ...$arrays): array
<?php     public function solutions(): array

    {

        return array_map(function (Solution $solution) {


            $transformerClass = $this->solutionTransformerClass;




            $transformer = new $transformerClass($solution);



            return ($transformer)->toArray();

        }, $this->solutions);

    }