<?php
 namespace ModStart\Grid\Concerns; use ModStart\Support\Concern\HasFluentAttribute; trait HasPaginator { public function enablePagination($enable = false) { $this->model->usePaginate($enable); $this->setFluentAttribute('enablePagination', $enable); return $this; } }