public function fromItems(array $items): array
    {
        $objects = [];
        foreach ($items as $item) {
            $objects[] = $this->fromItem($item);
        }

        return $objects;
    }
public function fromItems(array $items): array
    {
        $objects = [];
        foreach ($items as $item) {
            $objects[] = $this->fromItem($item);
        }

        return $objects;
    }
public function fromItems ( array $ items ) : array { $ objects = [ ] ; foreach ( $ items as $ item ) { $ objects [ ] = $ this -> fromItem ( $ item ) ; } return $ objects ; }
Transform a set of items into a set of objects.

@param Item[] $items

@return array
Transform a set of items into a set of objects .