Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php namespace AgelxNash\Modx\Evo\Database\Drivers; |
||
13 | class PgSqlDriver extends IlluminateDriver |
||
14 | { |
||
15 | /** |
||
16 | * {@inheritDoc} |
||
17 | */ |
||
18 | public function getTableName($table, $escape = true) |
||
19 | { |
||
20 | if (empty($table)) { |
||
21 | throw new Exceptions\TableNotDefinedException($table); |
||
22 | } |
||
23 | |||
24 | $out = $this->getConfig('prefix') . $table; |
||
25 | |||
26 | return $out; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * {@inheritDoc} |
||
31 | */ |
||
32 | public function getFullTableName($table) |
||
35 | } |
||
36 | } |
||
37 |