25 $this->accessed[$index] =
true;
26 return parent::offsetGet($index);
43 $this->accessed = array();
An exception for terminatinating execution or to throw for unit testing.
This is in almost every respect equivalent to an array except that it keeps track of which keys were ...
offsetGet($index)
Retrieves a value, and logs the access.
getAccessed()
Returns a lookup array of all array indexes that have been accessed.
resetAccessed()
Resets the access array.