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

AbstractOperation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Guillermoandrae\DynamoDb\Contract;
4
5
use Aws\DynamoDb\DynamoDbClient;
6
use Aws\DynamoDb\Marshaler;
7
8
abstract class AbstractOperation extends AbstractDynamoDbClientAware implements OperationInterface
9
{
10
    /**
11
     * Registers the DynamoDb client and Marshaler with this object.
12
     *
13
     * @param DynamoDbClient $client The DynamoDb client.
14
     * @param Marshaler $marshaler The Marshaler.
15
     */
16 42
    public function __construct(DynamoDbClient $client, Marshaler $marshaler)
17
    {
18 42
        $this->setClient($client);
19 42
        $this->setMarshaler($marshaler);
20 42
    }
21
}
22