PHP Class App\Http\Controllers\ExpenseCategoryApiController

Inheritance: extends BaseAPIController
Exibir arquivo Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$categoryRepo
$categoryService
$entityType

Public Methods

Method Description
__construct ( ExpenseCategoryRepository $categoryRepo, ExpenseCategoryService $categoryService )
store ( CreateExpenseCategoryRequest $request )
update ( UpdateExpenseCategoryRequest $request )

Method Details

__construct() public method

public __construct ( ExpenseCategoryRepository $categoryRepo, ExpenseCategoryService $categoryService )
$categoryRepo App\Ninja\Repositories\ExpenseCategoryRepository
$categoryService App\services\ExpenseCategoryService

store() public method

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

update() public method

public update ( UpdateExpenseCategoryRequest $request )
$request App\Http\Requests\UpdateExpenseCategoryRequest

Property Details

$categoryRepo protected_oe property

protected $categoryRepo

$categoryService protected_oe property

protected $categoryService

$entityType protected_oe property

protected $entityType