PHP 클래스 App\Http\Controllers\InvoiceApiController

상속: extends BaseAPIController
파일 보기 프로젝트 열기: hillelcoren/invoice-ninja

보호된 프로퍼티들

프로퍼티 타입 설명
$entityType
$invoiceRepo

공개 메소드들

메소드 설명
__construct ( InvoiceService $invoiceService, InvoiceRepository $invoiceRepo, ClientRepository $clientRepo, PaymentRepository $paymentRepo, ContactMailer $mailer, PaymentService $paymentService )
destroy ( UpdateInvoiceAPIRequest $request )
download ( App\Http\Requests\InvoiceRequest $request )
emailInvoice ( App\Http\Requests\InvoiceRequest $request )
index ( )
show ( App\Http\Requests\InvoiceRequest $request )
store ( CreateInvoiceAPIRequest $request )
update ( UpdateInvoiceAPIRequest $request, $publicId )

비공개 메소드들

메소드 설명
prepareData ( $data, $client )
prepareItem ( $item )

메소드 상세

__construct() 공개 메소드

public __construct ( InvoiceService $invoiceService, InvoiceRepository $invoiceRepo, ClientRepository $clientRepo, PaymentRepository $paymentRepo, ContactMailer $mailer, PaymentService $paymentService )
$invoiceService App\services\InvoiceService
$invoiceRepo App\Ninja\Repositories\InvoiceRepository
$clientRepo App\Ninja\Repositories\ClientRepository
$paymentRepo App\Ninja\Repositories\PaymentRepository
$mailer App\Ninja\Mailers\ContactMailer
$paymentService App\services\PaymentService

destroy() 공개 메소드

public destroy ( UpdateInvoiceAPIRequest $request )
$request App\Http\Requests\UpdateInvoiceAPIRequest

download() 공개 메소드

public download ( App\Http\Requests\InvoiceRequest $request )
$request App\Http\Requests\InvoiceRequest

emailInvoice() 공개 메소드

public emailInvoice ( App\Http\Requests\InvoiceRequest $request )
$request App\Http\Requests\InvoiceRequest

index() 공개 메소드

public index ( )

show() 공개 메소드

public show ( App\Http\Requests\InvoiceRequest $request )
$request App\Http\Requests\InvoiceRequest

store() 공개 메소드

public store ( CreateInvoiceAPIRequest $request )
$request App\Http\Requests\CreateInvoiceAPIRequest

update() 공개 메소드

public update ( UpdateInvoiceAPIRequest $request, $publicId )
$request App\Http\Requests\UpdateInvoiceAPIRequest

프로퍼티 상세

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

protected $entityType

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

protected $invoiceRepo