PHP Class App\services\TaskService

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

Protected Properties

Property Type Description
$datatableService
$taskRepo

Public Methods

Method Description
__construct ( TaskRepository $taskRepo, DatatableService $datatableService ) TaskService constructor.
getDatatable ( $clientPublicId, $search ) : Illuminate\Http\JsonResponse

Protected Methods

Method Description
getRepo ( ) : TaskRepository

Method Details

__construct() public method

TaskService constructor.
public __construct ( TaskRepository $taskRepo, DatatableService $datatableService )
$taskRepo App\Ninja\Repositories\TaskRepository
$datatableService DatatableService

getDatatable() public method

public getDatatable ( $clientPublicId, $search ) : Illuminate\Http\JsonResponse
$clientPublicId
$search
return Illuminate\Http\JsonResponse

getRepo() protected method

protected getRepo ( ) : TaskRepository
return App\Ninja\Repositories\TaskRepository

Property Details

$datatableService protected property

protected $datatableService

$taskRepo protected property

protected $taskRepo