Laravel-datatables: Method setTransformer does not exist.

Created on 14 Sep 2017  路  2Comments  路  Source: yajra/laravel-datatables

        $model = User::query();
        return DataTables::eloquent($model)
        ->setTransformer(new UserTransformer)
        ->toJson();

Method setTransformer does not exist.

  • Operating System
  • PHP Version 7.1.8
  • Laravel Version 5.5
  • Laravel-Datatables Version 8.0
documentation question

Most helpful comment

Were you able to install laravel-datatables-fractal? It is now extracted to own plugin.

All 2 comments

Were you able to install laravel-datatables-fractal? It is now extracted to own plugin.

Thanks, You done my job

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aliworkshop picture aliworkshop  路  14Comments

mithleshjs picture mithleshjs  路  16Comments

Yahav picture Yahav  路  16Comments

Arkhas picture Arkhas  路  15Comments

ruchisheth picture ruchisheth  路  16Comments