Skip to content

Commit a7d3372

Browse files
committed
upd doc
1 parent 90bfaa0 commit a7d3372

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
NullCache
2-
An implementation of PSR-16 `SimpleCache` with `Basic data validation`
1+
NullCache
32
----
3+
4+
This Package Is a `Null` implementation of PSR-16 `SimpleCache` with `Basic data validation`
5+
46
# Why this Package ?
57

68
There is nothing like [NullLogger](https://github.com/php-fig/log/blob/master/Psr/Log/NullLogger.php) of PSR-3 in PSR-16/PSR-6
@@ -15,11 +17,11 @@ if ($this->logger){
1517

1618
Then You need this Package.
1719

18-
## Want some Basic data validation ?
20+
## Amd want some Basic data validation ?
1921

20-
PSR-16 have some special `InvalidArgumentException` to throw when enter with invalid data
21-
We have these check. if you use These Package,`InvalidArgumentException` will be thrown when it is necessary ,
22-
to let you know your problem in code earlier.
22+
PSR-16 have some special `InvalidArgumentException` to throw when enter with invalid data.
23+
You Will have these check if you use These Package,`InvalidArgumentException` will be thrown when it is necessary ,
24+
to let you know your problem in earlier.
2325

2426
# Usage
2527

@@ -29,3 +31,7 @@ to let you know your problem in code earlier.
2931
$logger = new \ihipop\PsrNullCache\SimpleCache\NullCache(false);
3032
///...
3133
```
34+
35+
# CacheInterfaceProxy
36+
37+
Use this trait when you want to compatible with PSR `CacheInterface` quickly

0 commit comments

Comments
 (0)