You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Caching/Storages/SQLiteStorage.php
-31Lines changed: 0 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -50,11 +50,6 @@ public function __construct($path)
50
50
}
51
51
52
52
53
-
/**
54
-
* Read from cache.
55
-
* @param string
56
-
* @return mixed
57
-
*/
58
53
publicfunctionread($key)
59
54
{
60
55
$stmt = $this->pdo->prepare('SELECT data, slide FROM cache WHERE key=? AND (expire IS NULL OR expire >= ?)');
@@ -68,11 +63,6 @@ public function read($key)
68
63
}
69
64
70
65
71
-
/**
72
-
* Reads from cache in bulk.
73
-
* @param string
74
-
* @return array key => value pairs, missing items are omitted
75
-
*/
76
66
publicfunctionbulkRead(array$keys)
77
67
{
78
68
$stmt = $this->pdo->prepare('SELECT key, data, slide FROM cache WHERE key IN (?' . str_repeat(',?', count($keys) - 1) . ') AND (expire IS NULL OR expire >= ?)');
@@ -93,22 +83,11 @@ public function bulkRead(array $keys)
93
83
}
94
84
95
85
96
-
/**
97
-
* Prevents item reading and writing. Lock is released by write() or remove().
0 commit comments