enable = $this->env(); } public function get($key) { return apcu_fetch($key); } public function set($key, $value, $ttl = 0) { return apcu_store($key, $value, $ttl); } public function rm($key) { return apcu_delete($key); } public function clear() { return apcu_clear_cache('user'); } public function inc($key, $step = 1) { return apcu_inc($key, $step) !== false ? apcu_fetch($key) : false; } public function dec($key, $step = 1) { return apcu_dec($key, $step) !== false ? apcu_fetch($key) : false; } }