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

SinglePageController::index()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 1
c 1
b 0
f 1
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
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