PHP 클래스 App\services\ProductService

상속: extends Stevenmaguire\Laravel\Services\EloquentCache, implements App\Contracts\Productable
파일 보기 프로젝트 열기: hillelcoren/invoice-ninja 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$datatableService DatatableService
$productRepo App\Ninja\Repositories\ProductRepository

공개 메소드들

메소드 설명
__construct ( DatatableService $datatableService, ProductRepository $productRepo ) ProductService constructor.
getDatatable ( $accountId, $search ) : Illuminate\Http\JsonResponse

보호된 메소드들

메소드 설명
getRepo ( ) : ProductRepository

메소드 상세

__construct() 공개 메소드

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

getDatatable() 공개 메소드

public getDatatable ( $accountId, $search ) : Illuminate\Http\JsonResponse
$accountId
리턴 Illuminate\Http\JsonResponse

getRepo() 보호된 메소드

protected getRepo ( ) : ProductRepository
리턴 App\Ninja\Repositories\ProductRepository

프로퍼티 상세

$datatableService 보호되어 있는 프로퍼티

protected DatatableService,App\services $datatableService
리턴 DatatableService

$productRepo 보호되어 있는 프로퍼티

protected ProductRepository,App\Ninja\Repositories $productRepo
리턴 App\Ninja\Repositories\ProductRepository