public function findMany($id, $columns = ['*'])
    {
        if (empty($id)) {
            return new EntityCollection();
        }

        $this->query->whereIn($this->entityMap->getKeyName(), $id);

        return $this->get($columns);
    }
public function findMany($id, $columns = ['*'])
    {
        if (empty($id)) {
            return new EntityCollection();
        }

        $this->query->whereIn($this->entityMap->getKeyName(), $id);

        return $this->get($columns);
    }
public function findMany ( $ id , $ columns = [ '*' ] ) { if ( empty ( $ id ) ) { return new EntityCollection ( ) ; } $ this -> query -> whereIn ( $ this -> entityMap -> getKeyName ( ) , $ id ) ; return $ this -> get ( $ columns ) ; }
Find many entities by their primary keys.

@param array $id
@param array $columns

@return \Illuminate\Support\Collection
Find many entities by their primary keys .