src/V2/Bulk/BulkEndpoint.php
public function many( array $ids = [] ) {
        if( count( $ids ) === 0 ) {
            return [];
        }

        $pages = array_chunk( $ids, $this->maxPageSize() );

        $requests = [];
        foreach( $pages as $page ) {
            $requests[] = [ 'ids' => implode( ',', $page ) ];
        }

        $responses = $this->requestMany( $requests );

        $result = [];
        foreach( $responses as $response ) {
            $result = array_merge( $result, $response->json() );
        }

        return $result;
    }
public function many( array $ids = [] ) {
        if( count( $ids ) === 0 ) {
            return [];
        }

        $pages = array_chunk( $ids, $this->maxPageSize() );

        $requests = [];
        foreach( $pages as $page ) {
            $requests[] = [ 'ids' => implode( ',', $page ) ];
        }

        $responses = $this->requestMany( $requests );

        $result = [];
        foreach( $responses as $response ) {
            $result = array_merge( $result, $response->json() );
        }

        return $result;
    }
public function many ( array $ ids = [ ] ) { if ( count ( $ ids ) === 0 ) { return [ ] ; } $ pages = array_chunk ( $ ids , $ this -> maxPageSize ( ) ) ; $ requests = [ ] ; foreach ( $ pages as $ page ) { $ requests [ ] = [ 'ids' => implode ( ',' , $ page ) ] ; } $ responses = $ this -> requestMany ( $ requests ) ; $ result = [ ] ; foreach ( $ responses as $ response ) { $ result = array_merge ( $ result , $ response -> json ( ) ) ; } return $ result ; }
Multiple entries by ids.

@param string[]|int[] $ids
@return array
Multiple entries by ids .