VTPassBillController   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 4
eloc 3
c 1
b 0
f 0
dl 0
loc 12
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A show() 0 1 1
A store() 0 3 2
A index() 0 1 1
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