Completed
Push — master ( 52caec...ac6145 )
by Şəhriyar
17:22
created

RequestedActivationLink::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 1 Features 1
Metric Value
c 1
b 1
f 1
dl 0
loc 6
ccs 0
cts 5
cp 0
rs 9.4286
cc 1
eloc 3
nc 1
nop 1
crap 2
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
    public function __construct(UserInterface $user)
17
    {
18
        $this->user = $user;
19
20
        parent::__construct();
21
    }
22
}
23