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