public function import($name, $update = true, $updateMembers = true) { $organization = new EntityOrganization(); $organization->setName($name); if ($update && !$this->update($organization, $updateMembers)) { return false; } return $organization; }