Completed
Pull Request — master (#2)
by Joao
05:22
created

PdoLiteral   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
namespace ByJG\AnyDataset\Store;
4
5
use ByJG\Util\Uri;
6
use PDO;
7
8
class PdoLiteral extends DbPdoDriver
9
{
10
11
    public function __construct(Uri $connString, $preOptions = null, $postOptions = null)
12
    {
13
        $postOptions = [
14
            PDO::ATTR_EMULATE_PREPARES => true
15
        ];
16
17
        parent::__construct($connString, $preOptions, $postOptions);
18
    }
19
}
20