PHP Class App\Http\Controllers\TaxRateApiController

Inheritance: extends BaseAPIController
Afficher le fichier Open project: hillelcoren/invoice-ninja

Protected Properties

Свойство Type Description
$entityType string
$taxRateRepo App\Ninja\Repositories\TaxRateRepository

Méthodes publiques

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

Method Details

__construct() public méthode

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

index() public méthode

public index ( )

store() public méthode

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

update() public méthode

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

Property Details

$entityType protected_oe property

protected string $entityType
Résultat string

$taxRateRepo protected_oe property

protected TaxRateRepository,App\Ninja\Repositories $taxRateRepo
Résultat App\Ninja\Repositories\TaxRateRepository