public function formatCs($text) { $text = str_replace("#name#", ExportCodegen::cgMakeIdentifier($this->name, false), $text); return $this->format($text); }