Indexish

The Indexish<Tk, Tv> interface

Square bracket syntax is:

$indexish[$key]

At this point, this includes entities with keys of int and string.

In addition to Hack collections, PHP arrays are Indexish.

Interface synopsis

interface Indexish implements KeyedContainer {...}