/** * Renders empty form * * @return string */ public function addAction() { $qa = new VirtualEntity(); $qa->setTimestampAsked(time())->setTimestampAnswered(time())->setPublished(true); return $this->createForm($qa, 'Add a pair'); }
/** * Renders empty form * * @return string */ public function addAction() { $qa = new VirtualEntity(); $qa->setTimestampAsked(time())->setTimestampAnswered(time())->setPublished(true); return $this->createForm($qa, 'Add a pair'); }