PluginProbe ʕ •ᴥ•ʔ
Transferito: WP Migration / trunk
Transferito: WP Migration vtrunk
trunk 11.4.0 12.0.0 13.1.0 14.0.0 14.0.11 14.0.7 14.1.0 14.1.1 14.1.2 14.1.3 14.1.4
transferito / vendor / aws / aws-sdk-php / src / DynamoDb / SessionConnectionInterface.php
transferito / vendor / aws / aws-sdk-php / src / DynamoDb Last commit date
Exception 11 months ago BinaryValue.php 11 months ago DynamoDbClient.php 11 months ago LockingSessionConnection.php 11 months ago Marshaler.php 11 months ago NumberValue.php 11 months ago SessionConnectionConfigTrait.php 11 months ago SessionConnectionInterface.php 11 months ago SessionHandler.php 11 months ago SetValue.php 11 months ago StandardSessionConnection.php 11 months ago WriteRequestBatch.php 11 months ago
SessionConnectionInterface.php
46 lines
1 <?php
2 namespace Aws\DynamoDb;
3
4 /**
5 * The session connection provides the underlying logic for interacting with
6 * Amazon DynamoDB and performs all of the reading and writing operations.
7 */
8 interface SessionConnectionInterface
9 {
10 /**
11 * Reads session data from DynamoDB
12 *
13 * @param string $id Session ID
14 *
15 * @return array
16 */
17 public function read($id);
18
19 /**
20 * Writes session data to DynamoDB
21 *
22 * @param string $id Session ID
23 * @param string $data Serialized session data
24 * @param bool $isChanged Whether or not the data has changed
25 *
26 * @return bool
27 */
28 public function write($id, $data, $isChanged);
29
30 /**
31 * Deletes session record from DynamoDB
32 *
33 * @param string $id Session ID
34 *
35 * @return bool
36 */
37 public function delete($id);
38
39 /**
40 * Performs garbage collection on the sessions stored in the DynamoDB
41 *
42 * @return bool
43 */
44 public function deleteExpired();
45 }
46