Skip to content

Commit

Permalink
Change to colon.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 27, 2014
1 parent d5a6428 commit ca12692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,6 @@ You may easily cache the results of a query using the `remember` method:

In this example, the results of the query will be cached for ten minutes. While the results are cached, the query will not be run against the database, and the results will be loaded from the default cache driver specified for your application.

If you are using a [supported cache driver](/docs/cache#cache-tags), you can also add tags to the caches.
If you are using a [supported cache driver](/docs/cache#cache-tags), you can also add tags to the caches:

$users = DB::table('users')->cacheTags(array('people', 'authors'))->remember(10)->get();

0 comments on commit ca12692

Please sign in to comment.