public function findMany($ids, $columns = ['*'])
    {
        return empty($ids) ? [] : $this->whereIn(
            $this->getRelated()->getQualifiedKeyName(), $ids
        )->get($columns);
    }
public function findMany($ids, $columns = ['*'])
    {
        return empty($ids) ? [] : $this->whereIn(
            $this->getRelated()->getQualifiedKeyName(), $ids
        )->get($columns);
    }
public function findMany ( $ ids , $ columns = [ '*' ] ) { return empty ( $ ids ) ? [ ] : $ this -> whereIn ( $ this -> getRelated ( ) -> getQualifiedKeyName ( ) , $ ids ) -> get ( $ columns ) ; }
Find multiple related models by their primary keys.

@param  mixed  $ids
@param  array  $columns
@return array
Find multiple related models by their primary keys .