*/
private $communicatorInstance = NULL;
+ /**
+ * The concrete output instance
+ */
+ private $outputInstance = NULL;
+
/**
* State instance
*/
}
/**
- * Destructor for all classes
+ * Destructor for all classes. You should not call this method on your own.
*
* @return void
*/
return $this->stateInstance;
}
+ /**
+ * Setter for output instance
+ *
+ * @param $outputInstance The debug output instance
+ * @return void
+ */
+ public final function setOutputInstance (OutputStreamer $outputInstance) {
+ $this->outputInstance = $outputInstance;
+ }
+
+ /**
+ * Getter for output instance
+ *
+ * @return $outputInstance The debug output instance
+ */
+ public final function getOutputInstance () {
+ return $this->outputInstance;
+ }
+
/**
* Setter for command name
*
*
* @param $className Name of the class (currently unsupported)
* @return $debugInstance An instance of a debugger class
+ * @deprecated Not fully, as the new Logger facilities are not finished yet.
*/
public final static function createDebugInstance ($className) {
// Is the instance set?