MarshalerFactory   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A factory() 0 3 1
1
<?php
2
3
namespace Guillermoandrae\DynamoDb\Factory;
4
5
use Aws\DynamoDb\Marshaler;
6
7
/**
8
 * Marshaler factory.
9
 *
10
 * @author Guillermo A. Fisher <[email protected]>
11
 */
12
final class MarshalerFactory
13
{
14
    /**
15
     * Returns a marshaler object.
16
     *
17
     * @return Marshaler The marshaler.
18
     */
19 54
    public static function factory(): Marshaler
20
    {
21 54
        return new Marshaler();
22
    }
23
}
24