public function resolve(MarkupContainer $container, ComponentTag &$tag) { if ($tag instanceof PiconTag && $tag->getName() == 'picon:panel') { $id = 'panel' . $container->getPage()->getAutoIndex(); $tag->setComponentTagId($id); return new TransparentMarkupContainer($id); } return null; }