protected function _getOnDeleteErrorMessage(Entity $todoList) { $message = "todoList '" . $todoList->getName() . "'"; $message .= " could not be deleted from project '" . $todoList->getProjectId() . "'"; return $message; }
/** * Instantiate a new todoList entity * * @return \Sirprize\Basecamp\TodoList\Entity */ public function getTodoListInstance() { $todoList = new Entity(); $todoList->setHttpClient($this->_getHttpClient())->setService($this->_getService()); return $todoList; }