/** * Output handler. Calls during ob_clean, ob_flush, and their variants. * @param string $output * @return string */ public static function outputBuffer($output) { // Set and return the final output return self::$output = $output; }