/** * Returns the order of a new category * * @return int */ public function getCategoryNextOrder() { return 1 + $this->categoryDao->getMaxOrder(); }