PasswordController   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 21
c 0
b 0
f 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A forgot() 0 4 1
A reset() 0 4 1
1
<?php namespace Anomaly\UsersModule\Http\Controller;
2
3
use Anomaly\Streams\Platform\Http\Controller\PublicController;
4
use Illuminate\Contracts\Encryption\Encrypter;
5
6
/**
7
 * Class PasswordController
8
 *
9
 * @link          http://pyrocms.com/
10
 * @author        PyroCMS, Inc. <[email protected]>
11
 * @author        Ryan Thompson <[email protected]>
12
 */
13
class PasswordController extends PublicController
14
{
15
16
    /**
17
     * Return a forgot password view.
18
     */
19
    public function forgot()
20
    {
21
        return $this->view->make('anomaly.module.users::password/forgot');
22
    }
23
24
    /**
25
     * Reset a user password.
26
     *
27
     * @return \Illuminate\Contracts\View\View|mixed
28
     */
29
    public function reset()
30
    {
31
        return $this->view->make('anomaly.module.users::password/reset');
32
    }
33
}
34