protected function registerCompilerPass(ContainerBuilder $container) { $container->addCompilerPass(new RichTextHtml5ConverterPass()); }