PHP Class App\Http\Controllers\ExpenseCategoryController

Inheritance: extends BaseController
Datei anzeigen Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$categoryRepo
$categoryService
$entityType

Public Methods

Method Description
__construct ( ExpenseCategoryRepository $categoryRepo, ExpenseCategoryService $categoryService )
bulk ( )
create ( ExpenseCategoryRequest $request )
edit ( ExpenseCategoryRequest $request )
getDatatable ( $expensePublicId = null )
index ( ) : Response Display a listing of the resource.
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

bulk() public method

public bulk ( )

create() public method

public create ( ExpenseCategoryRequest $request )
$request App\Http\Requests\ExpenseCategoryRequest

edit() public method

public edit ( ExpenseCategoryRequest $request )
$request App\Http\Requests\ExpenseCategoryRequest

getDatatable() public method

public getDatatable ( $expensePublicId = null )

index() public method

Display a listing of the resource.
public index ( ) : Response
return Response

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