another commit
This commit is contained in:
54
app/Http/Controllers/Timer/TimerController.php
Normal file
54
app/Http/Controllers/Timer/TimerController.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Timer;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class TimerController extends Controller
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public function __construct() {
|
||||
//Require the user to be logged in
|
||||
$this->middleware('auth');
|
||||
//Require the user to at least have the User role.
|
||||
$this->middleware('role:User');
|
||||
}
|
||||
|
||||
/**
|
||||
* Display all current timers
|
||||
*/
|
||||
public function dashboard() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Display past timers
|
||||
*/
|
||||
public function pastTimers() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Display new timer form
|
||||
*/
|
||||
public function displayTimerForm() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Store New Timer
|
||||
*/
|
||||
public function storeTimer(Request $request) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete Timer
|
||||
*/
|
||||
public function deleteTimer(Request $request) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user