PHP Class App\services\ActivityService

Inheritance: extends BaseService
Show file Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$activityRepo App\Ninja\Repositories\ActivityRepository
$datatableService DatatableService

Public Methods

Method Description
__construct ( ActivityRepository $activityRepo, DatatableService $datatableService ) ActivityService constructor.
getDatatable ( null $clientPublicId = null ) : Illuminate\Http\JsonResponse

Method Details

__construct() public method

ActivityService constructor.
public __construct ( ActivityRepository $activityRepo, DatatableService $datatableService )
$activityRepo App\Ninja\Repositories\ActivityRepository
$datatableService DatatableService

getDatatable() public method

public getDatatable ( null $clientPublicId = null ) : Illuminate\Http\JsonResponse
$clientPublicId null
return Illuminate\Http\JsonResponse

Property Details

$activityRepo protected property

protected ActivityRepository,App\Ninja\Repositories $activityRepo
return App\Ninja\Repositories\ActivityRepository

$datatableService protected property

protected DatatableService,App\services $datatableService
return DatatableService