public function setIds(array $ids): void
    {
        if (empty($ids)) {
            throw new \InvalidArgumentException('At least one ID must be specified');
        }

        foreach ($ids as $id) {
            if (!\is_int($id)) {
                throw new \InvalidArgumentException('All IDs must be integers');
            }
        }

        $this->ids = $ids;
    }
public function setIds(array $ids): void
    {
        if (empty($ids)) {
            throw new \InvalidArgumentException('At least one ID must be specified');
        }

        foreach ($ids as $id) {
            if (!\is_int($id)) {
                throw new \InvalidArgumentException('All IDs must be integers');
            }
        }

        $this->ids = $ids;
    }
public function setIds ( array $ ids ) : void { if ( empty ( $ ids ) ) { throw new \ InvalidArgumentException ( 'At least one ID must be specified' ) ; } foreach ( $ ids as $ id ) { if ( ! \ is_int ( $ id ) ) { throw new \ InvalidArgumentException ( 'All IDs must be integers' ) ; } } $ this -> ids = $ ids ; }
A comma-separated list of numeric IDs for individual items in the feed.

@param int[] $ids
A comma - separated list of numeric IDs for individual items in the feed .