PHP Class App\Http\Controllers\ClientsController

Inheritance: extends Controller
Mostrar archivo Open project: Bottelet/Flarepoint-crm

Protected Properties

Property Type Description
$clients
$settings
$users

Public Methods

Method Description
__construct ( App\Repositories\User\UserRepositoryContract $users, App\Repositories\Client\ClientRepositoryContract $clients, App\Repositories\Setting\SettingRepositoryContract $settings )
anyData ( )
create ( ) : Response Show the form for creating a new resource.
cvrapiStart ( Illuminate\Http\Request $vatRequest )
destroy ( integer $id ) : Response Remove the specified resource from storage.
edit ( integer $id ) : Response Show the form for editing the specified resource.
index ( ) : Response Display a listing of the resource.
show ( integer $id ) : Response Display the specified resource.
store ( StoreClientRequest $request ) : Response Store a newly created resource in storage.
update ( integer $id, UpdateClientRequest $request ) : Response Update the specified resource in storage.

Method Details

__construct() public method

public __construct ( App\Repositories\User\UserRepositoryContract $users, App\Repositories\Client\ClientRepositoryContract $clients, App\Repositories\Setting\SettingRepositoryContract $settings )
$users App\Repositories\User\UserRepositoryContract
$clients App\Repositories\Client\ClientRepositoryContract
$settings App\Repositories\Setting\SettingRepositoryContract

anyData() public method

public anyData ( )

create() public method

Show the form for creating a new resource.
public create ( ) : Response
return Response

cvrapiStart() public method

public cvrapiStart ( Illuminate\Http\Request $vatRequest )
$vatRequest Illuminate\Http\Request

destroy() public method

Remove the specified resource from storage.
public destroy ( integer $id ) : Response
$id integer
return Response

edit() public method

Show the form for editing the specified resource.
public edit ( integer $id ) : Response
$id integer
return Response

index() public method

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

show() public method

Display the specified resource.
public show ( integer $id ) : Response
$id integer
return Response

store() public method

Store a newly created resource in storage.
public store ( StoreClientRequest $request ) : Response
$request App\Http\Requests\Client\StoreClientRequest
return Response

update() public method

Update the specified resource in storage.
public update ( integer $id, UpdateClientRequest $request ) : Response
$id integer
$request App\Http\Requests\Client\UpdateClientRequest
return Response

Property Details

$clients protected_oe property

protected $clients

$settings protected_oe property

protected $settings

$users protected_oe property

protected $users