-
-
Notifications
You must be signed in to change notification settings - Fork 11
Description
In a few places on the page about invalidation, it says that the invalidation method is set by passing additional values to "Item->get", such as:
Defining which method to use done by passing an Invalidation constant to the Item->get() class when it retrieves it's value
There's also a mistake there, calling a method a class. In other instances, the method doesn't have parentheses at the end, such as here:
When this method is used Item->get takes one additional argument
In the examples no additional values are passed to that method. Instead, a method not mentioned before is invoked, such as:
$userInfo->setInvalidationMethod(Stash\Invalidation::OLD);I still cannot understand how to control invalidation because of this. Also, you may want to replace things like "Item->get" with ItemInterface#get(), e.g. including proper inline code and displaying it as such.