コード例 #1
0
 /**
  * {@inheritDoc}
  */
 public function findThreadById($id)
 {
     $thread = $this->realManager->findThreadById($id);
     if (null !== $thread && !$this->threadAcl->canView($thread)) {
         throw new AccessDeniedException();
     }
     return $thread;
 }