Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Stash functions as a key-value store: you place things into the cache using a ke
$item->set('apple');

var_dump($item->get());
// string(6) "apples"
// string(5) "apple"

This works between requests as well.

Expand All @@ -87,7 +87,7 @@ This works between requests as well.
// Second Request
$item = $pool->getItem('fruit');
var_dump($item->get());
// string(6) "apples"
// string(5) "apple"

Putting this together with the rest of Stash allows for a simple yet flexible way to speed up scripts by reusing data.

Expand Down