original_string: public function findByKeys(array $keys)
      {
          $result = [];
          /** @var Cursor $list */
          $list = $this->collection->find(['_id' => ['$in' => $keys]]);
  
          foreach ($list as $document) {
              $result[] = $this->hydrateEntity($document);
          }
  
          return $result;
      }
code: public function findByKeys(array $keys)
      {
          $result = [];
          /** @var Cursor $list */
          $list = $this->collection->find(['_id' => ['$in' => $keys]]);
  
          foreach ($list as $document) {
              $result[] = $this->hydrateEntity($document);
          }
  
          return $result;
      }
code_tokens: public function findByKeys ( array $ keys ) { $ result = [ ] ; /** @var Cursor $list */ $ list = $ this -> collection -> find ( [ '_id' => [ '$in' => $ keys ] ] ) ; foreach ( $ list as $ document ) { $ result [ ] = $ this -> hydrateEntity ( $ document ) ; } return $ result ; }
docstring: Finds a list of items by keys
  
  @param array $keys
  
  @return array
docstring_tokens: Finds a list of items by keys