PHP Class App\services\ProductService

Inheritance: extends Stevenmaguire\Laravel\Services\EloquentCache, implements App\Contracts\Productable
Afficher le fichier Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Свойство Type Description
$datatableService DatatableService
$productRepo App\Ninja\Repositories\ProductRepository

Méthodes publiques

Méthode Description
__construct ( DatatableService $datatableService, ProductRepository $productRepo ) ProductService constructor.
getDatatable ( $accountId, $search ) : Illuminate\Http\JsonResponse

Méthodes protégées

Méthode Description
getRepo ( ) : ProductRepository

Method Details

__construct() public méthode

ProductService constructor.
public __construct ( DatatableService $datatableService, ProductRepository $productRepo )
$datatableService DatatableService
$productRepo App\Ninja\Repositories\ProductRepository

getDatatable() public méthode

public getDatatable ( $accountId, $search ) : Illuminate\Http\JsonResponse
$accountId
Résultat Illuminate\Http\JsonResponse

getRepo() protected méthode

protected getRepo ( ) : ProductRepository
Résultat App\Ninja\Repositories\ProductRepository

Property Details

$datatableService protected_oe property

protected DatatableService,App\services $datatableService
Résultat DatatableService

$productRepo protected_oe property

protected ProductRepository,App\Ninja\Repositories $productRepo
Résultat App\Ninja\Repositories\ProductRepository