Passed
Push — master ( bd6e6f...61c111 )
by Kenneth
01:39
created

MySQLBindingFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 10
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
    public static function build(): Bindings
10
    {
11
        return new Bindings(
12
            new MySQLDateTimeBindings(),
13
            new MySQLLogicBindings(),
14
            new MySQLNumericBindings(),
15
            new MySQLRawBindings(),
16
            new MySQLStringBindings()
17
        );
18
    }
19
}
20