creating map from object parameters php code example
Example: using array map php
array_map ( callable $callback , array $array1 [, array $... ] ) : array
array_map ( callable $callback , array $array1 [, array $... ] ) : array