PHP Class App\Http\Controllers\TaxRateApiController

Inheritance: extends BaseAPIController
显示文件 Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$entityType string
$taxRateRepo App\Ninja\Repositories\TaxRateRepository

Public Methods

Method Description
__construct ( TaxRateRepository $taxRateRepo ) TaxRateApiController constructor.
index ( )
store ( CreateTaxRateRequest $request )
update ( UpdateTaxRateRequest $request, $publicId ) : Illuminate\Http\Response

Method Details

__construct() public method

TaxRateApiController constructor.
public __construct ( TaxRateRepository $taxRateRepo )
$taxRateRepo App\Ninja\Repositories\TaxRateRepository

index() public method

public index ( )

store() public method

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

update() public method

public update ( UpdateTaxRateRequest $request, $publicId ) : Illuminate\Http\Response
$request App\Http\Requests\UpdateTaxRateRequest
$publicId
return Illuminate\Http\Response

Property Details

$entityType protected_oe property

protected string $entityType
return string

$taxRateRepo protected_oe property

protected TaxRateRepository,App\Ninja\Repositories $taxRateRepo
return App\Ninja\Repositories\TaxRateRepository