\HomeController

Controller to handle requests to home Functions to create and delete users

Summary

Methods
Properties
Constants
getHome()
getDeleteMe()
No public properties found
No constants found
setupLayout()
No protected properties found
N/A
_createNewUser()
No private properties found
N/A

Methods

getHome()

getHome() : \Illuminate\Http\RedirectResponse|\Illuminate\View\View

Function to handle GET request for front page

Returns

\Illuminate\Http\RedirectResponse|\Illuminate\View\View —

if user already uploaded files the function redirects to dashboard, if not the home view is returned

getDeleteMe()

getDeleteMe() : \Illuminate\Http\RedirectResponse

Function to handle GET request for resetting user data

Returns

\Illuminate\Http\RedirectResponse —

Redirect to home view

setupLayout()

setupLayout() : void

Setup the layout used by the controller.

_createNewUser()

_createNewUser() 

Function to create a new user in database