<?php
/**
 * Created by IntelliJ IDEA.
 * User: cinan
 * Date: 5/13/13
 * Time: 2:13 AM
 * To change this template use File | Settings | File Templates.
 */

class EmailOutput extends Output {

    private $outputFile = '/tmp/results.php';

    function __construct() {
        file_put_contents($this->outputFile, '');
    }

    public function log($message) {
        file_put_contents($this->outputFile, $message, FILE_APPEND | FILE_TEXT);
    }

    public function display(){
        // Send mail
    }
}