Skip to content

Commit 6056e30

Browse files
author
obozdag
authored
docs: Remove $raw parameter from save method in libraries/caching.rst
Remove $raw parameter from save method in libraries/caching.rst
1 parent 99baa73 commit 6056e30

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

user_guide_src/source/libraries/caching.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,11 @@ Class Reference
139139
Gets an item from the cache. If ``null`` was returned, this will invoke the callback
140140
and save the result. Either way, this will return the value.
141141

142-
.. php:method:: save(string $key, $data[, int $ttl = 60[, $raw = false]])
142+
.. php:method:: save(string $key, $data[, int $ttl = 60])
143143
144144
:param string $key: Cache item name
145145
:param mixed $data: the data to save
146146
:param int $ttl: Time To Live, in seconds (default 60)
147-
:param bool $raw: Whether to store the raw value
148147
:returns: ``true`` on success, ``false`` on failure
149148
:rtype: bool
150149

@@ -155,9 +154,6 @@ Class Reference
155154

156155
.. literalinclude:: caching/004.php
157156

158-
.. note:: The ``$raw`` parameter is only utilized by Memcached,
159-
in order to allow usage of ``increment()`` and ``decrement()``.
160-
161157
.. php:method:: delete($key): bool
162158
163159
:param string $key: name of cached item

0 commit comments

Comments
 (0)