Completed
Push — master ( 248e12...0fb364 )
by ARCANEDEV
03:19
created

PasswordController   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 36
ccs 0
cts 9
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A getEmail() 0 4 1
1
<?php namespace Arcanesoft\Auth\Http\Controllers\Front;
2
3
use Arcanesoft\Auth\Bases\Controller;
4
use Illuminate\Foundation\Auth\ResetsPasswords;
5
6
/**
7
 * Class     PasswordController
8
 *
9
 * @package  Arcanesoft\Auth\Http\Controllers\Front
10
 * @author   ARCANEDEV <[email protected]>
11
 */
12
class PasswordController extends Controller
13
{
14
    /* ------------------------------------------------------------------------------------------------
15
     |  Traits
16
     | ------------------------------------------------------------------------------------------------
17
     */
18
    use ResetsPasswords;
19
20
    /* ------------------------------------------------------------------------------------------------
21
     |  Constructor
22
     | ------------------------------------------------------------------------------------------------
23
     */
24
    /**
25
     * Create a new password controller instance.
26
     */
27
    public function __construct()
28
    {
29
        parent::__construct();
30
31
        $this->middleware('guest');
32
    }
33
34
    /* ------------------------------------------------------------------------------------------------
35
     |  Main Functions
36
     | ------------------------------------------------------------------------------------------------
37
     */
38
    /**
39
     * Display the form to request a password reset link.
40
     *
41
     * @return \Illuminate\Http\Response
42
     */
43
    public function getEmail()
44
    {
45
        return view('auth::public.reset');
46
    }
47
}
48