Skip to content

Commit 29f0b0c

Browse files
author
Corey McCormick
committed
Update docs
1 parent d83d231 commit 29f0b0c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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
2119
First, 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

2725
Next, 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

0 commit comments

Comments
 (0)