Daniel@0: container->getParameter('jstmpl.source.patterns') as $v) { Daniel@0: try { Daniel@0: $response = $this->render(str_replace('{name}',$name, $v)); Daniel@0: return $response; Daniel@0: } catch (\InvalidArgumentException $e) { Daniel@0: } Daniel@0: } Daniel@0: Daniel@0: throw new NotFoundHttpException(); Daniel@0: } Daniel@0: }