Completed
Push — master ( ddae74...2d3481 )
by PROSPER
7s
created

PageController::home()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 5
rs 9.4285
1
<?php
2
3
    namespace App\Http\Controllers;
4
5
    class PageController extends Controller
6
    {
7
        
8
        /**
9
         * Return the homepage view
10
         * @return mixed
11
         */   
12
        public function home()
13
        {
14
            return view('welcome');
15
16
        } 
17
18
        /**
19
         * Return the api dashboard view listing available apis
20
         * @return mixed
21
         */ 
22
        public function api()
23
        {
24
            return view('apidashboard');
25
26
        }    
27
28
        /**
29
         * Return the contact page view
30
         * @return mixed
31
         */ 
32
        public function contact()
33
        {
34
            return view('contact');
35
36
        }
37
    }
38