-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathUser.php
57 lines (49 loc) · 826 Bytes
/
User.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
namespace AqBanking;
class User
{
/**
* @var string
*/
private $userId;
/**
* @var string
*/
private $userName;
/**
* @var Bank
*/
private $bank;
/**
* @param string $userId
* @param string $userName
* @param Bank $bank
*/
public function __construct($userId, $userName, Bank $bank)
{
$this->userId = $userId;
$this->userName = $userName;
$this->bank = $bank;
}
/**
* @return string
*/
public function getUserId()
{
return $this->userId;
}
/**
* @return string
*/
public function getUserName()
{
return $this->userName;
}
/**
* @return Bank
*/
public function getBank()
{
return $this->bank;
}
}