Completed
Push — master ( 20a668...02e94f )
by Guillermo A.
02:17
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
dl 0
loc 10
c 0
b 0
f 0
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A factory() 0 3 1
1
<?php
2
3
namespace Guillermoandrae\DynamoDb;
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 19
    public static function factory()
15
    {
16 19
        return new Marshaler(['wrap_numbers' => true]);
17
    }
18
}
19