MySQLBindingFactory::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 7
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 6
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 8
ccs 7
cts 7
cp 1
crap 1
rs 10
1
<?php
2
3
namespace GeekLab\GLPDO2\Bindings\MySQL;
4
5
use GeekLab\GLPDO2\Bindings\Bindings;
6
7
class MySQLBindingFactory
8
{
9 50
    public static function build(): Bindings
10
    {
11 50
        return new Bindings(
12 50
            new MySQLDateTimeBindings(),
13 50
            new MySQLLogicBindings(),
14 50
            new MySQLNumericBindings(),
15 50
            new MySQLRawBindings(),
16 50
            new MySQLStringBindings()
17
        );
18
    }
19
}
20