PHP Class App\services\ExpenseCategoryService

Inheritance: extends BaseService
Exibir arquivo Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$categoryRepo App\Ninja\Repositories\ExpenseCategoryRepository
$datatableService DatatableService

Public Methods

Method Description
__construct ( ExpenseCategoryRepository $categoryRepo, DatatableService $datatableService ) CreditService constructor.
getDatatable ( $search ) : Illuminate\Http\JsonResponse
save ( $data ) : mixed | null

Protected Methods

Method Description
getRepo ( ) : CreditRepository

Method Details

__construct() public method

CreditService constructor.
public __construct ( ExpenseCategoryRepository $categoryRepo, DatatableService $datatableService )
$categoryRepo App\Ninja\Repositories\ExpenseCategoryRepository
$datatableService DatatableService

getDatatable() public method

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

getRepo() protected method

protected getRepo ( ) : CreditRepository
return CreditRepository

save() public method

public save ( $data ) : mixed | null
$data
return mixed | null

Property Details

$categoryRepo protected_oe property

protected ExpenseCategoryRepository,App\Ninja\Repositories $categoryRepo
return App\Ninja\Repositories\ExpenseCategoryRepository

$datatableService protected_oe property

protected DatatableService,App\services $datatableService
return DatatableService