private function packValues(array $entities): array
    {
        $result = [];
        foreach ($entities as $entity) {
            $result[] = $entity->packValue();
        }

        return $result;
    }
private function packValues(array $entities): array
    {
        $result = [];
        foreach ($entities as $entity) {
            $result[] = $entity->packValue();
        }

        return $result;
    }
private function packValues ( array $ entities ) : array { $ result = [ ] ; foreach ( $ entities as $ entity ) { $ result [ ] = $ entity -> packValue ( ) ; } return $ result ; }
Pack multiple entities into array form.

@param CompositableInterface[] $entities

@return array
Pack multiple entities into array form .