| Total Complexity | 1 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class UserEntity |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | public $name = ''; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | public $host = ''; |
||
| 16 | |||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | public $password = ''; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var array |
||
| 25 | */ |
||
| 26 | public $grants = []; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var array |
||
| 30 | */ |
||
| 31 | public $privileges = []; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * The constructor |
||
| 35 | * |
||
| 36 | * @param string $name |
||
| 37 | * @param string $host |
||
| 38 | */ |
||
| 39 | public function __construct(string $name = '', string $host = '') |
||
| 45 |