final protected function writeln($text, $breakAfter = false, $breakBefore = false)
    {

        // Enforce indentation level
        $indent = ($this->indent > 0) ? $this->indent : 0;
        $text = sprintf('%s%s', str_repeat(' ', 4 * $indent), $text);

        if (true === $breakAfter) {
            $text = sprintf("%s\r\n", $text);
        }

        if (true == $breakBefore) {
            $text = sprintf("\r\n%s", $text);
        }

        $this->output->writeln($text);
    }