public function saveContent(dao\ContentDto $content) { $this->userService->checkRightGate('CONTENT_EDIT'); return $this->contentDao->save($content, $this->userService->getCurrentUser()->id); }