for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Guillermoandrae\DynamoDb\Contract;
use Aws\DynamoDb\DynamoDbClient;
use Aws\DynamoDb\Marshaler;
/**
* Abstract for operations.
*
* @author Guillermo A. Fisher <[email protected]>
*/
abstract class AbstractOperation implements OperationInterface
{
use DynamoDbClientAwareTrait;
* Registers the DynamoDb client and Marshaler with this object.
* @param DynamoDbClient $client The DynamoDb client.
* @param Marshaler $marshaler The Marshaler.
public function __construct(DynamoDbClient $client, Marshaler $marshaler)
$this->setClient($client);
$this->setMarshaler($marshaler);
}