PHP Class App\services\PaymentTermService

Inheritance: extends BaseService
Mostrar archivo Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Property Type Description
$datatableService
$paymentTermRepo

Public Methods

Method Description
__construct ( PaymentTermRepository $paymentTermRepo, DatatableService $datatableService ) PaymentTermService constructor.
actions ( $entityType )
columns ( $entityType, $hideClient )
getDatatable ( integer $accountId ) : Illuminate\Http\JsonResponse

Protected Methods

Method Description
getRepo ( ) : PaymentTermRepository

Method Details

__construct() public method

PaymentTermService constructor.
public __construct ( PaymentTermRepository $paymentTermRepo, DatatableService $datatableService )
$paymentTermRepo App\Ninja\Repositories\PaymentTermRepository
$datatableService DatatableService

actions() public method

public actions ( $entityType )

columns() public method

public columns ( $entityType, $hideClient )

getDatatable() public method

public getDatatable ( integer $accountId ) : Illuminate\Http\JsonResponse
$accountId integer
return Illuminate\Http\JsonResponse

getRepo() protected method

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

Property Details

$datatableService protected_oe property

protected $datatableService

$paymentTermRepo protected_oe property

protected $paymentTermRepo