Completed
Push — master ( 670622...a5ffbc )
by Edson
01:42
created

Mysql   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getDsn() 0 3 1
1
<?php
2
3
namespace Keep;
4
5
class Mysql extends Driver
6
{
7
    public function getDsn(): string
8
    {
9
        return "mysql:host={$this->host};port={$this->port};dbname={$this->dbname};charset={$this->charset}";
10
    }
11
}
12