public function setOutputMode($outputMode)
    {
        $this->outputMode = ($outputMode === self::OUTPUT_MULTI_LINE) ? self::OUTPUT_MULTI_LINE : self::OUTPUT_SINGLE_LINE;

        return $this;
    }