Example #1
0
 /**
  * @param Team $team
  * @return void
  */
 private function _copy(Team $team)
 {
     $this->id = $team->getId();
     $this->name = $team->getName();
     $this->description = $team->getDescription();
 }
Example #2
0
 /**
  * @param Team $team
  */
 public function update(Team $team)
 {
     $xml = $team->toXml();
     $this->service->put("/teams/{$team->getId()}", $xml);
 }