Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/query/PhabricatorUserPreferencesQuery.php
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | final class PhabricatorUserPreferencesQuery | ||||
} | } | ||||
/** | /** | ||||
* Always return preferences for every queried user. | * Always return preferences for every queried user. | ||||
* | * | ||||
* If no settings exist for a user, a new empty settings object with | * If no settings exist for a user, a new empty settings object with | ||||
* appropriate defaults is returned. | * appropriate defaults is returned. | ||||
* | * | ||||
* @param bool True to generat synthetic preferences for missing users. | * @param bool True to generate synthetic preferences for missing users. | ||||
*/ | */ | ||||
public function needSyntheticPreferences($synthetic) { | public function needSyntheticPreferences($synthetic) { | ||||
$this->synthetic = $synthetic; | $this->synthetic = $synthetic; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function newResultObject() { | public function newResultObject() { | ||||
return new PhabricatorUserPreferences(); | return new PhabricatorUserPreferences(); | ||||
▲ Show 20 Lines • Show All 136 Lines • Show Last 20 Lines |