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.

Authors

  • Greg Ward is the original author of the Perl "Fortune.pm", on which work this heavily derives.
  • Matthew Weier O'Phinney is the author of this implementation.