Skip to content

Commit fb2981a

Browse files
committed
Update Documentation
1 parent df5b71a commit fb2981a

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,9 @@
2020
"ext-memcached": "*",
2121
"ext-redis": "*"
2222
},
23+
"provide": {
24+
"psr/cache-implementation": "1.0",
25+
"psr/simple-cache-implementation": "1.0"
26+
},
2327
"license": "MIT"
2428
}

docs/basic-usage-psr16-simplecache.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# Basic Usage
1+
# Basic Usage - Psr16 Simple Cache
22

3-
All implementations are PDR-16. So, just create an instance:
3+
Psr16 is a standard for cache in PHP with less verbosity than Psr6.
4+
5+
You can just instantiate the cache engine and use it as you can see below.
46

57
```php
68
<?php
@@ -19,3 +21,4 @@ if (!empty($result))
1921
}
2022
return $result;
2123
```
24+

docs/basic-usage-psr6-cachepool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Basic Usage
1+
# Basic Usage - Psr6 Cache Pool
22

33
## Get an element from cache (using Factory...)
44

docs/setup-log-handler.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Setup Log Handler
22

3-
This will available for the cache instances:
3+
You can add a PSR Log compatible to the constructor in order to get Log of the operations.
4+
5+
## Example
46

57
```php
68
<?php

0 commit comments

Comments
 (0)