Skip to content

Invalidating Inconsistencies #18

@XedinUnknown

Description

@XedinUnknown

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions