Changeset View
Changeset View
Standalone View
Standalone View
src/markup/syntax/highlighter/PhutilRainbowSyntaxHighlighter.php
| <?php | <?php | ||||
| /** | /** | ||||
| * Highlights source code with a rainbow of colors, regardless of the language. | * Highlights source code with a rainbow of colors, regardless of the language. | ||||
| * This highlighter is useless, absurd, and extremely slow. | * This highlighter is useless, absurd, and extremely slow. | ||||
| */ | */ | ||||
| final class PhutilRainbowSyntaxHighlighter { | final class PhutilRainbowSyntaxHighlighter extends Phobject { | ||||
| private $config = array(); | private $config = array(); | ||||
| public function setConfig($key, $value) { | public function setConfig($key, $value) { | ||||
| $this->config[$key] = $value; | $this->config[$key] = $value; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| Show All 31 Lines | |||||