Completed
Push — master ( ac6145...bdf07d )
by Şəhriyar
14:49
created

RequestedActivationLink   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php namespace App\Events\Users;
2
3
use App\Events\Event as EventAbstract;
4
use Cartalyst\Sentinel\Users\UserInterface;
5
6
class RequestedActivationLink extends EventAbstract
7
{
8
    /**
9
     * @var array|\Cartalyst\Sentinel\Users\UserInterface
10
     */
11
    public $user;
12
13
    /**
14
     * @param \Cartalyst\Sentinel\Users\UserInterface $user
15
     */
16 1
    public function __construct(UserInterface $user)
17
    {
18 1
        $this->user = $user;
19
20 1
        parent::__construct();
21 1
    }
22
}
23