Keep in mind that this implementation requires an api for fetching data, and assumes the following response schema:
{
"perPageOptions": [
15, 50, 100
],
"actions": [
"Delete all", "Publish All", "Unpublish All"
],Keep in mind that this implementation requires an api for fetching data, and assumes the following response schema:
{
"perPageOptions": [
15, 50, 100
],
"actions": [
"Delete all", "Publish All", "Unpublish All"
],| <?php | |
| namespace App\Http\Controllers\Office\Employee; | |
| use App\Http\Resources\Office\Employee\EmployeeCollection; | |
| use App\Http\Resources\Office\Employee\Employee as EmployeeResource; | |
| use App\Models\User\User as Employee; | |
| use App\Http\Controllers\Controller; | |
| use Yajra\DataTables\DataTables; | |
| use Illuminate\Database\Eloquent\Collection; |
| <?php | |
| /** | |
| * Following binding works! | |
| */ | |
| namespace MyPackage\Model; | |
| class User | |
| { | |
| } |