Ejemplo n.º 1
0
 public function onTransform(TransformEvent $event)
 {
     $fact = $event->getFact();
     $fact->setText($this->parameterInjector->inject($fact->getText()));
 }
Ejemplo n.º 2
0
 public function onTransform(TransformEvent $event)
 {
     $fact = $event->getFact();
     $fact->setText($this->translator->trans($fact->getText(), [], $this->translationGroup));
 }