File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
68There 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
1618Then 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
You can’t perform that action at this time.
0 commit comments