コード例 #1
0
 /**
  * Creates and persists a thread with the specified id.
  *
  * @param mixed $id
  * @return ThreadInterface
  */
 public function create($id)
 {
     $thread = $this->threadManager->createThread();
     $thread->setId($id);
     $thread->setPermalink($this->request->getUri());
     $this->threadManager->addThread($thread);
     return $thread;
 }
コード例 #2
0
 /**
  * {@inheritDoc}
  */
 public function getClass()
 {
     return $this->realManager->getClass();
 }