@@ -56,7 +56,6 @@ public function __construct(string $row = self::ROW, string $driver = self::DRIV
5656
5757 // Init cache
5858 if ( $ this ->useCache ) {
59- Cache::$ debug = false ;
6059 $ this ->cache = new Cache ($ driver );
6160 }
6261 }
@@ -76,7 +75,7 @@ public function noCache() : self
7675 /**
7776 * Get temp value from database through cache,
7877 * Get cached value if persistent.
79- *
78+ *
8079 * @access public
8180 * @param string $key
8281 * @param mixed $default
@@ -94,7 +93,7 @@ public function get(string $key, $default = null)
9493 /**
9594 * Set temp value in database,
9695 * Add cache layer if persistent.
97- *
96+ *
9897 * @access public
9998 * @param string $key
10099 * @param mixed $value
@@ -114,7 +113,7 @@ public function set(string $key, $value = true, int $ttl = self::TTL) : bool
114113
115114 /**
116115 * Delete temp value from database and cache.
117- *
116+ *
118117 * @access public
119118 * @param string $key
120119 * @return bool
@@ -127,7 +126,7 @@ public function delete(string $key) : bool
127126
128127 /**
129128 * Get temp value from cache.
130- *
129+ *
131130 * @access public
132131 * @param string $key
133132 * @return mixed
@@ -142,7 +141,7 @@ public function getTemp(string $key)
142141
143142 /**
144143 * Set temp value in cache.
145- *
144+ *
146145 * @access public
147146 * @param string $key
148147 * @param mixed $value
@@ -159,7 +158,7 @@ public function setTemp(string $key, $value = true, int $ttl = self::TTL) : bool
159158
160159 /**
161160 * Delete temp value from cache.
162- *
161+ *
163162 * @access public
164163 * @param string $key
165164 * @return bool
@@ -174,7 +173,7 @@ public function deleteTemp(string $key) : bool
174173
175174 /**
176175 * Get temp value from database.
177- *
176+ *
178177 * @access public
179178 * @param string $key
180179 * @param mixed $default
@@ -220,7 +219,7 @@ public function getBaseTemp(string $key, $default = null, bool $persistent = fal
220219
221220 /**
222221 * Set temp value in database.
223- *
222+ *
224223 * @access public
225224 * @param string $key
226225 * @param mixed $value
@@ -250,7 +249,7 @@ public function setBaseTemp(string $key, $value = true, int $ttl = self::TTL) :
250249
251250 /**
252251 * Delete temp value from database.
253- *
252+ *
254253 * @access public
255254 * @param string $key
256255 * @param mixed $value
@@ -279,7 +278,7 @@ public function deleteBaseTemp(string $key) : bool
279278
280279 /**
281280 * Reset database temp row.
282- *
281+ *
283282 * @access public
284283 * @return bool
285284 */
0 commit comments