* Store a value in the WinCache object cache
*
* @param string $key Cache key
- * @param mixed $valueObject Value to store
+ * @param mixed $value Value to store
* @param int $expire Expiration time
* @return bool
*/
* @param int $exptime Expiration time
* @return bool
*/
- public function cas( $casToken, $key, $value, $exptime = 0 ) {
+ protected function cas( $casToken, $key, $value, $exptime = 0 ) {
return wincache_ucache_cas( $key, $casToken, serialize( $value ) );
}
* Remove a value from the WinCache object cache
*
* @param string $key Cache key
- * @param int $time Not used in this implementation
* @return bool
*/
- public function delete( $key, $time = 0 ) {
+ public function delete( $key ) {
wincache_ucache_delete( $key );
return true;