| Total Complexity | 3 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class Account extends Entity |
||
| 16 | { |
||
| 17 | use UrlAwareTrait; |
||
| 18 | |||
| 19 | private const STATUS_DEACTIVATED = 'deactivated'; |
||
| 20 | |||
| 21 | public $id; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var array |
||
| 25 | */ |
||
| 26 | public $key; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var array |
||
| 30 | */ |
||
| 31 | public $contact; |
||
| 32 | |||
| 33 | public $agreement; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | public $initialIp; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var string |
||
| 42 | */ |
||
| 43 | public $createdAt; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @var string |
||
| 47 | */ |
||
| 48 | private $keyPath; |
||
| 49 | |||
| 50 | public function __construct(array $data, string $url, string $keyPath) |
||
| 56 | } |
||
| 57 | |||
| 58 | public function getPrivateKeyPath(): string |
||
| 61 | } |
||
| 62 | |||
| 63 | public function isDeactivated(): bool |
||
| 68 |