public function highlight(string $source, bool $withLineNumber = false): string
    {
        $tokenLines = $this->getHighlightedLines($source);
        $lines      = $this->colorLines($tokenLines);

        if ($withLineNumber) {
            return $this->lineNumbers($lines);
        }

        return \implode(\PHP_EOL, $lines);
    }