PHP Class App\Http\Controllers\LeadsController

Inheritance: extends Controller
Mostra file Open project: Bottelet/Flarepoint-crm

Protected Properties

Property Type Description
$clients
$leads
$settings
$users

Public Methods

Method Description
__construct ( App\Repositories\Lead\LeadRepositoryContract $leads, App\Repositories\User\UserRepositoryContract $users, App\Repositories\Client\ClientRepositoryContract $clients, App\Repositories\Setting\SettingRepositoryContract $settings )
anyData ( )
create ( ) : Illuminate\Http\Response Show the form for creating a new resource.
index ( ) : Illuminate\Http\Response Display a listing of the resource.
show ( integer $id ) : Illuminate\Http\Response Display the specified resource.
store ( StoreLeadRequest $request ) : Illuminate\Http\Response Store a newly created resource in storage.
updateAssign ( $id, Illuminate\Http\Request $request )
updateFollowup ( UpdateLeadFollowUpRequest $request, $id )
updateStatus ( $id, Illuminate\Http\Request $request )

Method Details

__construct() public method

public __construct ( App\Repositories\Lead\LeadRepositoryContract $leads, App\Repositories\User\UserRepositoryContract $users, App\Repositories\Client\ClientRepositoryContract $clients, App\Repositories\Setting\SettingRepositoryContract $settings )
$leads App\Repositories\Lead\LeadRepositoryContract
$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 ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

index() public method

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

show() public method

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

store() public method

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

updateAssign() public method

public updateAssign ( $id, Illuminate\Http\Request $request )
$request Illuminate\Http\Request

updateFollowup() public method

public updateFollowup ( UpdateLeadFollowUpRequest $request, $id )
$request App\Http\Requests\Lead\UpdateLeadFollowUpRequest

updateStatus() public method

public updateStatus ( $id, Illuminate\Http\Request $request )
$request Illuminate\Http\Request

Property Details

$clients protected_oe property

protected $clients

$leads protected_oe property

protected $leads

$settings protected_oe property

protected $settings

$users protected_oe property

protected $users