VTPassBillController::store()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 2
nc 2
nop 0
1
<?php
2
/**
3
 * Created By: Henry Ejemuta
4
 * PC: Enrico Systems
5
 * Project: laravel-vtpass
6
 * Company: Stimolive Technologies Limited
7
 * Class Name: VTPassBillController.php
8
 * Date Created: 9/26/20
9
 * Time Created: 7:08 PM
10
 */
11
12
namespace HenryEjemuta\LaravelVTPass\Http\Controllers;
13
14
15
class VTPassBillController extends Controller {
16
    public function index() {
17
        //
18
    }
19
20
    public function show() {
21
        //
22
    }
23
24
    public function store() {
25
        if (! auth()->check()) {
26
            abort (403, 'Only authenticated users can create new posts.');
27
        }
28
    }
29
}
30