Introduction
Introduction –
File_Fortune aims to provide a simple OOP and
array-like interface to fortune files. To this end, it implements the SPL
interfaces Iterator, Countable, and ArrayAccess. With it, you may easily
create and maintain fortune databases, as well as fulfill their primary use
case: getting a random fortune.