public __construct ( Google\Cloud\Datastore\Connection\ConnectionInterface $connection, string $projectId, string $namespaceId, |
||
$connection | Google\Cloud\Datastore\Connection\ConnectionInterface | A connection to Google Cloud Platform's Datastore API. |
$projectId | string | The Google Cloud Platform project ID. |
$namespaceId | string | The namespace to use for all service requests. |
$entityMapper |
public function __construct(ConnectionInterface $connection, $projectId, $namespaceId, EntityMapper $entityMapper)
{
$this->connection = $connection;
$this->projectId = $projectId;
$this->namespaceId = $namespaceId;
$this->entityMapper = $entityMapper;
}