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