rob893/emoji-cache
最新稳定版本:v1.0.2
Composer 安装命令:
composer require rob893/emoji-cache
包简介
LRU cache implementation but all identifiers are emojis.
README 文档
README
LRU cache implementation but all identifiers are emojis.
Yes. This is actually valid code and does indeed work.
But why?
Irrelevant. This exists now.
Installation
Install using composer.
composer require rob893/emoji-cache
Usage:
// Create new cache $😈 = new 🐆🐆🐆(); $🔑 = 'foo'; $⚰️ = 12345; // Check if cache has key. Will be false. $😍 = $😈->🤔🤔🤔($🔑); echo $😍; // Set key value $😈->✍️✍️✍️($🔑, $⚰️); // Check if key exists. Will be true. $💣 = $😈->🤔🤔🤔($🔑); // Get value for key. $⚔️ = $😈->🤔🤞😃($🔑); // Get size of cache. $📈 = $😈->👙💩🖇(); echo $💣; echo $⚔️; echo $📈; // Clear cache. $😈->❌❌❌(); // Check size again. echo $😈->👙💩🖇();
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 19
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-15