public function render($name) { if ($name === null) { $name = $this->renderChildren(); } return constant($name); }