Ejemplo n.º 1
0
 public function commentTexy($text)
 {
     if (!isset($this->commentTexy)) {
         $this->commentTexy = $this->texyFactory->createTexyForComment();
     }
     return $this->commentTexy->process($text);
 }
Ejemplo n.º 2
0
 public function __construct(EntityManager $entityManager, LocaleFacade $localeFacade, TexyFactory $texyFactory, UrlFacade $urlFacade)
 {
     $this->em = $entityManager;
     $this->urlFacade = $urlFacade;
     $this->localeFacade = $localeFacade;
     $this->texy = $texyFactory->createTexyForPage();
 }
Ejemplo n.º 3
0
 public function __construct(TexyFactory $texyFactory, EntityManager $entityManager, Request $request)
 {
     $this->texy = $texyFactory->createTexyForComment();
     $this->em = $entityManager;
     $this->request = $request;
 }