Completed
Push — master ( a7a349...3fc402 )
by Guillermo A.
03:23
created

MarshalerFactory   A

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
final class MarshalerFactory
8
{
9
    /**
10
     * Returns a marshaler object.
11
     *
12
     * @return Marshaler The marshaler.
13
     */
14 42
    public static function factory()
15
    {
16 42
        return new Marshaler(['wrap_numbers' => true]);
17
    }
18
}
19