| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 14 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 21 | public function __construct(  | 
            ||
| 22 | string $host,  | 
            ||
| 23 | int $port,  | 
            ||
| 24 | string $database,  | 
            ||
| 25 | string $username,  | 
            ||
| 26 | string $password,  | 
            ||
| 27 | array $options = []  | 
            ||
| 28 |     ) { | 
            ||
| 29 |         $this->dsn = "sqlsrv:Server={$host},{$port};Database={$database};LoginTimeout=1;QuotedId=1"; | 
            ||
| 30 | $this->host = $host;  | 
            ||
| 31 | $this->port = $port;  | 
            ||
| 32 | $this->username = $username;  | 
            ||
| 33 | $this->password = $password;  | 
            ||
| 34 | $this->options = array_merge($this->options, $options);  | 
            ||
| 35 | }  | 
            ||
| 37 |