PluginProbe
Loginizer / trunk
Loginizer vtrunk
2.1.0 2.0.9 2.0.8 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 All 74 releases
loginizer / lib / hybridauth / Storage / StorageInterface.php

StorageInterface.php in Loginizer trunk, at lib/hybridauth/Storage/StorageInterface.php

51 lines 909 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*!
3 * Hybridauth
4 * https://hybridauth.github.io | https://github.com/hybridauth/hybridauth
5 * (c) 2017 Hybridauth authors | https://hybridauth.github.io/license.html
6 */
7
8 namespace Hybridauth\Storage;
9
10 /**
11 * Hybridauth storage manager interface
12 */
13 interface StorageInterface
14 {
15 /**
16 * Retrieve a item from storage
17 *
18 * @param string $key
19 *
20 * @return mixed
21 */
22 public function get($key);
23
24 /**
25 * Add or Update an item to storage
26 *
27 * @param string $key
28 * @param string $value
29 */
30 public function set($key, $value);
31
32 /**
33 * Delete an item from storage
34 *
35 * @param string $key
36 */
37 public function delete($key);
38
39 /**
40 * Delete a item from storage
41 *
42 * @param string $key
43 */
44 public function deleteMatch($key);
45
46 /**
47 * Clear all items in storage
48 */
49 public function clear();
50 }
51