/** * @param int $index * @param Rendered|string $content * @return $this */ public function insertAfter($index, $content) { if ($this->isRendered($content)) { $this->getGroup(get_class($content))->insertAfter($index, $content); } parent::insertAfter($index, $content); return $this; }