File: application/modules/extensions/aws/Aws/DynamoDb/SessionConnectionInterface.php

Recommend this page to a friend!
  Classes of Tran Tuan  >  Pretty PHP S3 Files Manager  >  application/modules/extensions/aws/Aws/DynamoDb/SessionConnectionInterface.php  >  Download  
File: application/modules/extensions/aws/Aws/DynamoDb/SessionConnectionInterface.php
Role: Application script
Content type: text/plain
Description: Application script
Class: Pretty PHP S3 Files Manager
Web based interface to manage files in Amazon S3
Author: By
Last change:
Date: 4 years ago
Size: 1,017 bytes
 

Contents

Class file image Download
<?php
namespace Aws\DynamoDb;

/**
 * The session connection provides the underlying logic for interacting with
 * Amazon DynamoDB and performs all of the reading and writing operations.
 */
interface SessionConnectionInterface
{
   
/**
     * Reads session data from DynamoDB
     *
     * @param string $id Session ID
     *
     * @return array
     */
   
public function read($id);

   
/**
     * Writes session data to DynamoDB
     *
     * @param string $id Session ID
     * @param string $data Serialized session data
     * @param bool $isChanged Whether or not the data has changed
     *
     * @return bool
     */
   
public function write($id, $data, $isChanged);

   
/**
     * Deletes session record from DynamoDB
     *
     * @param string $id Session ID
     *
     * @return bool
     */
   
public function delete($id);

   
/**
     * Performs garbage collection on the sessions stored in the DynamoDB
     *
     * @return bool
     */
   
public function deleteExpired();
}


For more information send a message to info at phpclasses dot org.