An example of a PHP class which uses PDO to stash data generated at runtime