Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | abstract class AbstractTableOperation extends AbstractOperation implements TableOperationInterface |
||
14 | { |
||
15 | use TableAwareOperationTrait { |
||
16 | TableAwareOperationTrait::toArray as tableAwareTraitToArray; |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * Registers the DynamoDb client, Marshaler, and the table name with this object. |
||
21 | * |
||
22 | * @param DynamoDbClient $client The DynamoDb client. |
||
23 | * @param Marshaler $marshaler The Marshaler. |
||
24 | * @param string $tableName The table name. |
||
25 | */ |
||
26 | 24 | public function __construct(DynamoDbClient $client, Marshaler $marshaler, string $tableName) |
|
27 | { |
||
28 | 24 | parent::__construct($client, $marshaler); |
|
29 | 24 | $this->setTableName($tableName); |
|
30 | 24 | } |
|
31 | |||
32 | 34 | public function toArray(): array |
|
35 | } |
||
36 | } |
||
37 |