Exemple #1
0
 protected function _getOnDeleteErrorMessage(Entity $milestone)
 {
     $message = "milestone '" . $milestone->getTitle() . "'";
     $message .= " could not be deleted from project '" . $milestone->getProjectId() . "'";
     return $message;
 }
Exemple #2
0
 /**
  * Instantiate a new milestone entity
  *
  * @return \Sirprize\Basecamp\Milestone\Entity
  */
 public function getMilestoneInstance()
 {
     $milestone = new Entity();
     $milestone->setHttpClient($this->_getHttpClient())->setService($this->_getService());
     return $milestone;
 }