}
function delete( $key ) {
- if ( !isset( $this->bag[$key] ) ) {
- return false;
- }
-
unset( $this->bag[$key] );
return true;
}
-
- public function lock( $key, $timeout = 6, $expiry = 6 ) {
- return true;
- }
-
- function unlock( $key ) {
- return true;
- }
}