src/php/Arbit/Periodic/Logger/Cli.php
protected function write( $stream, $text )
    {
        $fp = fopen( $stream, 'a' );
        fwrite( $fp, $text );
        fclose( $fp );
    }
protected function write( $stream, $text )
    {
        $fp = fopen( $stream, 'a' );
        fwrite( $fp, $text );
        fclose( $fp );
    }
Write text to stream

Write given text to given stream. Simple wrapper function to make class
testable.

@param string $stream
@param string $text
@return void