PHP Class App\Http\Controllers\ExpenseApiController

Inheritance: extends BaseAPIController
ファイルを表示 Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$entityType
$expenseRepo Expenses
$expenseService

Public Methods

Method Description
__construct ( ExpenseRepository $expenseRepo, ExpenseService $expenseService )
destroy ( ExpenseRequest $request )
index ( )
store ( App\Http\Requests\CreateExpenseRequest $request )
update ( UpdateExpenseRequest $request, $publicId )

Method Details

__construct() public method

public __construct ( ExpenseRepository $expenseRepo, ExpenseService $expenseService )
$expenseRepo App\Ninja\Repositories\ExpenseRepository
$expenseService App\services\ExpenseService

destroy() public method

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

index() public method

public index ( )

store() public method

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

update() public method

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

Property Details

$entityType protected_oe property

protected $entityType

$expenseRepo protected_oe property

Expenses
protected $expenseRepo

$expenseService protected_oe property

protected $expenseService