/** * Parsing a description, in order to replace shortcodes with their HTML codes * @param DiaporamaEvent $event */ public function parseDiaporamaDescription(DiaporamaHtmlEvent $event) { $event->setEntityDescription($this->updateDescription($event->getEntityDescription())); }