FluidTYPO3\Vhs\ViewHelpers\Iterator\MergeViewHelper::render PHP Method

render() public method

Merges arrays/Traversables $a and $b into an array
public render ( mixed $b, boolean $useKeys = true ) : array
$b mixed Second array/Traversable
$useKeys boolean If TRUE comparison is done while also observing and merging the keys used in each array
return array
    public function render($b, $useKeys = true)
    {
        $a = $this->getArgumentFromArgumentsOrTagContentAndConvertToArray('a');
        $b = $this->arrayFromArrayOrTraversableOrCSV($b, $useKeys);
        $merged = $this->mergeArrays($a, $b);
        return $merged;
    }