| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class Account |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $code; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $email; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param string $email |
||
| 28 | * @param string $code |
||
| 29 | */ |
||
| 30 | public function __construct($email, $code = null) |
||
| 31 | { |
||
| 32 | $this->code = $code; |
||
| 33 | $this->email = $email; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return string|null |
||
| 38 | */ |
||
| 39 | public function getCode() |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getEmail() |
||
| 52 |