예제 #1
0
 public function commentTexy($text)
 {
     if (!isset($this->commentTexy)) {
         $this->commentTexy = $this->texyFactory->createTexyForComment();
     }
     return $this->commentTexy->process($text);
 }
예제 #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();
 }
예제 #3
0
 public function __construct(TexyFactory $texyFactory, EntityManager $entityManager, Request $request)
 {
     $this->texy = $texyFactory->createTexyForComment();
     $this->em = $entityManager;
     $this->request = $request;
 }