PostgresqlMasterSlavesDriver   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 3 1
1
<?php
2
3
namespace Ez\DbLinker\Driver;
4
5
use Doctrine\DBAL\Driver\AbstractPostgreSQLDriver;
6
7
class PostgresqlMasterSlavesDriver extends AbstractPostgreSQLDriver
8
{
9
    use MasterSlavesDriver;
10
11
    /**
12
     * Gets the name of the driver.
13
     *
14
     * @return string The name of the driver.
15
     */
16
    public function getName() {
17
        return 'postgresql-master-slaves';
18
    }
19
}
20