original_string: protected function getEntityIds() {
      $query = $this->getStorage()->getQuery()
        ->sort($this->entityType->getKey('id'), 'DESC');
  
      $this->limit = 1000;
      if ($this->limit) {
        $query->pager($this->limit);
      }
  
      return $query->execute();
    }
code: protected function getEntityIds() {
      $query = $this->getStorage()->getQuery()
        ->sort($this->entityType->getKey('id'), 'DESC');
  
      $this->limit = 1000;
      if ($this->limit) {
        $query->pager($this->limit);
      }
  
      return $query->execute();
    }
code_tokens: protected function getEntityIds ( ) { $ query = $ this -> getStorage ( ) -> getQuery ( ) -> sort ( $ this -> entityType -> getKey ( 'id' ) , 'DESC' ) ; $ this -> limit = 1000 ; if ( $ this -> limit ) { $ query -> pager ( $ this -> limit ) ; } return $ query -> execute ( ) ; }
docstring: Loads entity IDs using a pager sorted by the entity id.
  
  @return array
  An array of entity IDs.
docstring_tokens: Loads entity IDs using a pager sorted by the entity id .