JobManagerFileLogRouteMessageStreamer Class Reference

Public Member Functions

 __construct ($template=null, $jobManagerFileLogger)
 add ($message)
 addIgnoringTemplate ($message)
 setEmptyTemplate ()

Protected Attributes

 $template = "{message}"
 $jobManagerFileLogger

Detailed Description

Helper class for streaming output to the browser prior to the completion of a page request.

Definition at line 40 of file JobManagerFileLogRouteMessageStreamer.php.


Member Function Documentation

add ( message  ) 

Add a message to be streamed.

Parameters:
string $message

Definition at line 66 of file JobManagerFileLogRouteMessageStreamer.php.

addIgnoringTemplate ( message  ) 

Given a message, output the message to the message stream ignoring the template. Used to output a . for example if you want a stream of dots to indicate progress.

Parameters:
string $message

Definition at line 78 of file JobManagerFileLogRouteMessageStreamer.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Aug 19 07:10:26 2017