Completed
Push — master ( 9abca0...16ab07 )
by Rémi
04:24
created

ThirdPartyAccountLinked   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 23
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getThirdPartyUser() 0 4 1
1
<?php
2
3
namespace MessageApp\Event;
4
5
use MessageApp\User\ThirdParty\User;
6
7
class ThirdPartyAccountLinked
8
{
9
    /** @var User */
10
    private $thirdPartyUser;
11
12
    /**
13
     * ThirdPartyAccountLinked constructor.
14
     *
15
     * @param User $thirdPartyUser
16
     */
17
    public function __construct(User $thirdPartyUser)
18
    {
19
        $this->thirdPartyUser = $thirdPartyUser;
20
    }
21
22
    /**
23
     * @return User
24
     */
25
    public function getThirdPartyUser()
26
    {
27
        return $this->thirdPartyUser;
28
    }
29
}
30