From 3e57acae0fde02520ba0f09a8b9761ad6dea8226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=BCrth?= Date: Mon, 15 Feb 2016 19:08:47 +0100 Subject: [PATCH] Typo & wording --- en/core-libraries/caching.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/core-libraries/caching.rst b/en/core-libraries/caching.rst index cf7aec1626..0ff636564b 100644 --- a/en/core-libraries/caching.rst +++ b/en/core-libraries/caching.rst @@ -222,7 +222,7 @@ You could improve the above code by moving the cache reading logic into a behavior, that read from the cache, or ran the associated model method. That is an exercise you can do though. -As of 2.5 you can accomplish the above much more simply using +As of 2.5 you can accomplish the above much more simple by using :php:meth:`Cache::remember()`. Assuming you are using PHP 5.3 or newer, using the ``remember()`` method would look like::