Completed
Branch master (b0c9cf)
by Nick
04:29
created

SinglePageController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 3 1
1
<?php declare(strict_types=1);
2
/**
3
 * Single-Page Controller.
4
 *
5
 * @package   App\Http\Controllers
6
 * @author    Nick Menke <[email protected]>
7
 * @copyright 2018-2019 Nick Menke
8
 * @link      https://github.com/nlmenke/vertebrae
9
 */
10
11
namespace App\Http\Controllers;
12
13
use Illuminate\Contracts\View\Factory;
14
use Illuminate\View\View;
15
16
/**
17
 * The single-page controller class.
18
 *
19
 * This class loads the view that loads the JavaScript front-end.
20
 *
21
 * @since x.x.x introduced
22
 */
23
class SinglePageController extends AbstractController
24
{
25
    /**
26
     * Load the Vue application view.
27
     *
28
     * @return Factory|View
29
     */
30
    public function index()
31
    {
32
        return view('layouts/single-page');
33
    }
34
}
35