PHP Class App\Http\Controllers\ExpenseCategoryController

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

Protected Properties

Свойство Type Description
$categoryRepo
$categoryService
$entityType

Méthodes publiques

Méthode 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 méthode

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

bulk() public méthode

public bulk ( )

create() public méthode

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

edit() public méthode

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

getDatatable() public méthode

public getDatatable ( $expensePublicId = null )

index() public méthode

Display a listing of the resource.
public index ( ) : Response
Résultat Response

store() public méthode

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

update() public méthode

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