ArrayAccess (interface)
The ArrayAccess interface
Introduction
(PHP 5 >= 5.0.0, PHP 7)
Interface to provide accessing objects as arrays.
Interface synopsis
ArrayAccess {
/* Methods */
abstract public boolean offsetExists ( mixed $offset )
abstract public mixed offsetGet ( mixed $offset )
abstract public void offsetSet ( mixed $offset , mixed $value )
abstract public void offsetUnset ( mixed $offset )}