File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ Simple Cache
77[ ![ License] ( https://poser.pugx.org/simplesoftwareio/simple-cache/license.svg )] ( https://packagist.org/packages/simplesoftwareio/simple-cache )
88[ ![ Total Downloads] ( https://poser.pugx.org/simplesoftwareio/simple-cache/downloads.svg )] ( https://packagist.org/packages/simplesoftwareio/simple-cache )
99
10- ## This is pre-released software. Use at your own risk.
11-
1210- [ Introduction] ( #docs-introduction )
1311- [ Configuration] ( #docs-configuration )
1412- [ Usage] ( #docs-usage )
@@ -21,7 +19,7 @@ Simple Cache
2119First, add the Simple Cache package to your ` require ` in your ` composer.json ` file:
2220
2321 "require": {
24- "simplesoftwareio/simple-cache": "dev-master "
22+ "simplesoftwareio/simple-cache": "~1 "
2523 }
2624
2725Next, run the ` composer update ` command.
@@ -113,7 +111,7 @@ The `flush` method will flush the cache for a model.
113111
114112` isBusting ` will return the current status of the ` cacheBusting ` property.
115113
116- if(User:: isBusting()) {
114+ if((new User)-> isBusting()) {
117115 // Is cache busting
118116 }
119117
You can’t perform that action at this time.
0 commit comments