/** * Renders empty form * * @return string */ public function addAction() { $category = new VirtualEntity(); $category->setActive(true); return $this->createForm($category, 'Add a category'); }
/** * Renders empty form * * @return string */ public function addAction() { $category = new VirtualEntity(); $category->setActive(true); return $this->createForm($category, 'Add a category'); }