PHP Class App\Http\Controllers\ExpenseCategoryApiController

Inheritance: extends BaseAPIController
Show file 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 property

protected $categoryRepo

$categoryService protected property

protected $categoryService

$entityType protected property

protected $entityType