| Total Complexity | 1 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Database |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $db; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $username; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $password; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Database constructor. |
||
| 24 | * |
||
| 25 | * @param string $db |
||
| 26 | * @param string $username |
||
| 27 | * @param string $password |
||
| 28 | */ |
||
| 29 | public function __construct($db, $username, $password) |
||
| 36 |