public static function createByUUIDs(array $uuids): self
    {
        $ids = array_map(function (ItemUUID $uuid) {
            return $uuid->composeUUID();
        }, $uuids);

        $query = self::create('', self::DEFAULT_PAGE, count($uuids))
            ->disableAggregations()
            ->disableSuggestions();

        $query->filters['_id'] = Filter::create(
            '_id',
            array_unique($ids),
            Filter::AT_LEAST_ONE,
            Filter::TYPE_FIELD
        );

        return $query;
    }
public static function createByUUIDs(array $uuids): self
    {
        $ids = array_map(function (ItemUUID $uuid) {
            return $uuid->composeUUID();
        }, $uuids);

        $query = self::create('', self::DEFAULT_PAGE, count($uuids))
            ->disableAggregations()
            ->disableSuggestions();

        $query->filters['_id'] = Filter::create(
            '_id',
            array_unique($ids),
            Filter::AT_LEAST_ONE,
            Filter::TYPE_FIELD
        );

        return $query;
    }
public static function createByUUIDs ( array $ uuids ) : self { $ ids = array_map ( function ( ItemUUID $ uuid ) { return $ uuid -> composeUUID ( ) ; } , $ uuids ) ; $ query = self :: create ( '' , self :: DEFAULT_PAGE , count ( $ uuids ) ) -> disableAggregations ( ) -> disableSuggestions ( ) ; $ query -> filters [ '_id' ] = Filter :: create ( '_id' , array_unique ( $ ids ) , Filter :: AT_LEAST_ONE , Filter :: TYPE_FIELD ) ; return $ query ; }
Create by references.

@param ItemUUID[] $uuids

@return Query
Create by references .