Property | Type | Description | |
---|---|---|---|
$clientRepo | |||
$datatableService |
Method | Description | |
---|---|---|
__construct ( |
ClientService constructor. | |
getDatatable ( $search, $userId ) : Illuminate\Http\JsonResponse | ||
save ( $data, null $client = null ) : mixed | null |
Method | Description | |
---|---|---|
getRepo ( ) : |
public __construct ( |
||
$clientRepo | ||
$datatableService | ||
$ninjaRepo | App\Ninja\Repositories\NinjaRepository |
public getDatatable ( $search, $userId ) : Illuminate\Http\JsonResponse | ||
$search | ||
$userId | ||
return | Illuminate\Http\JsonResponse |
protected getRepo ( ) : |
||
return |
protected ClientRepository,App\Ninja\Repositories $clientRepo | ||
return |