1 | <?php |
||
8 | class ThirdPartyAccountReplaced extends Event |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | const NAME = 'user.3rd-party.replaced'; |
||
14 | |||
15 | /** @var User */ |
||
16 | private $thirdPartyUser; |
||
17 | |||
18 | /** |
||
19 | * ThirdPartyAccountLinked constructor. |
||
20 | * |
||
21 | * @param User $thirdPartyUser |
||
22 | */ |
||
23 | public function __construct(User $thirdPartyUser) |
||
28 | |||
29 | /** |
||
30 | * @return User |
||
31 | */ |
||
32 | public function getThirdPartyUser() |
||
36 | } |
||
37 |