public function render($content = null, $start = 0, $length = null) { if (null === $content) { $content = $this->renderChildren(); } if (null !== $length) { return substr($content, $start, $length); } return substr($content, $start); }