Oihana PHP

Invalidable

A contract for objects holding a derived state that can become stale.

It lets a producer of change tell its dependents to forget what they derived — without knowing what, or how, they cache it.

Tags
author

Marc Alcaraz (ekameleon)

since
1.1.0

Table of Contents

Methods

invalidate()  : void
Drops the cached state, so the next read rebuilds it.

Methods

invalidate()

Drops the cached state, so the next read rebuilds it.

public invalidate() : void
On this page

Search results