PHP Class App\Http\Controllers\ClientController

Inheritance: extends Controller
Afficher le fichier Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Свойство Type Description
$clientRepo
$clientService
$entityType

Méthodes publiques

Méthode Description
__construct ( ClientRepository $clientRepo, ClientService $clientService )
bulk ( )
create ( App\Http\Requests\ClientRequest $request ) : Response Show the form for creating a new resource.
edit ( App\Http\Requests\ClientRequest $request ) : Response Show the form for editing the specified resource.
getDatatable ( )
index ( ) : Response Display a listing of the resource.
show ( App\Http\Requests\ClientRequest $request ) : Response Display the specified resource.
store ( App\Http\Requests\CreateClientRequest $request ) : Response Store a newly created resource in storage.
update ( App\Http\Requests\UpdateClientRequest $request ) : Response Update the specified resource in storage.

Private Methods

Méthode Description
getViewModel ( )

Method Details

__construct() public méthode

public __construct ( ClientRepository $clientRepo, ClientService $clientService )
$clientRepo App\Ninja\Repositories\ClientRepository
$clientService App\services\ClientService

bulk() public méthode

public bulk ( )

create() public méthode

Show the form for creating a new resource.
public create ( App\Http\Requests\ClientRequest $request ) : Response
$request App\Http\Requests\ClientRequest
Résultat Response

edit() public méthode

Show the form for editing the specified resource.
public edit ( App\Http\Requests\ClientRequest $request ) : Response
$request App\Http\Requests\ClientRequest
Résultat Response

getDatatable() public méthode

public getDatatable ( )

index() public méthode

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

show() public méthode

Display the specified resource.
public show ( App\Http\Requests\ClientRequest $request ) : Response
$request App\Http\Requests\ClientRequest
Résultat Response

store() public méthode

Store a newly created resource in storage.
public store ( App\Http\Requests\CreateClientRequest $request ) : Response
$request App\Http\Requests\CreateClientRequest
Résultat Response

update() public méthode

Update the specified resource in storage.
public update ( App\Http\Requests\UpdateClientRequest $request ) : Response
$request App\Http\Requests\UpdateClientRequest
Résultat Response

Property Details

$clientRepo protected_oe property

protected $clientRepo

$clientService protected_oe property

protected $clientService

$entityType protected_oe property

protected $entityType