public function transform(Team $team) { return array('id' => $team->getId(), 'name' => $team->getName(), 'description' => $team->getDescription()); }