MySQLBindingFactory   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 10
ccs 7
cts 7
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 8 1
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