Implement ArrayAccess interface