/** * @param Team $team * @return void */ private function _copy(Team $team) { $this->id = $team->getId(); $this->name = $team->getName(); $this->description = $team->getDescription(); }