brenno-duarte/apcu-oop
最新稳定版本:1.0.1
Composer 安装命令:
composer require brenno-duarte/apcu-oop
包简介
The simplest OOP wrapper for APCu functions
README 文档
README
The simplest OOP wrapper for APCu functions
Installing
composer require brenno-duarte/apcu-oop
How to use
Firstly, you must instantiate the APCu class.
use APCU\APCu; $apcu = new APCu();
The methods available in this class are similar to those of the APCu functions.
| Functions | OOP |
|---|---|
apcu_add() |
$apcu->add() |
apcu_cache_info() |
$apcu->cacheInfo() |
apcu_cas() |
$apcu->cas() |
apcu_clear_cache() |
$apcu->clearCache() |
apcu_dec() |
$apcu->decrease() |
apcu_delete() |
$apcu->delete() |
apcu_enabled() |
$apcu->enabled() |
apcu_entry() |
$apcu->entry() |
apcu_exists() |
$apcu->exists() |
apcu_fetch() |
$apcu->fetch() |
apcu_inc() |
$apcu->increase() |
apcu_key_info() |
$apcu->keyInfo() |
apcu_sma_info() |
$apcu->smaInfo() |
apcu_store() |
$apcu->store() |
License
MIT
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-07-24