AbstractDataEndpointRepository   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getDbDriver() 0 4 1
1
<?php
2
3
namespace Ps2alerts\Api\Repository;
4
5
use Ps2alerts\Api\Repository\AbstractEndpointRepository;
6
7
abstract class AbstractDataEndpointRepository extends AbstractEndpointRepository
8
{
9
    /**
10
     * Overloads the database driver function to pull from the supplemental database instead
11
     *
12
     * @return \Aura\Sql\ExtendedPdo
13
     */
14
    public function getDbDriver()
15
    {
16
        return $this->getDatabaseDataDriver();
17
    }
18
}
19