public function __get($name)Inherited
$name |
wild |
public function __set($name, $value)Inherited
$name | ||
$value |
wild |
public function current()Inherited
wild |
public function key()Inherited
wild |
public function next()Inherited
wild |
public function rewind()Inherited
wild |
public function valid()Inherited
wild |
private function throwOnAttemptedIteration()Inherited
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
string | Value of the constant. |
abstract protected function executeChecks()
wild |
public function getExecutionOrder()
wild |
public function isPreflightCheck()
Should this check execute before we load configuration?
The majority of checks (particularly, those checks which examine configuration) should run in the normal setup phase, after configuration loads. However, a small set of critical checks (mostly, tests for PHP setup and extensions) need to run before we can load configuration.
bool | True to execute before configuration is loaded. |
final protected function newIssue($key)
$key |
wild |
final public function getIssues()
wild |
protected function addIssue($issue)
PhabricatorSetupIssue | $issue |
wild |
public function getDefaultGroup()
wild |
final public function runSetupChecks()
wild |
final public static function getOpenSetupIssueKeys()
wild |
final public static function resetSetupState()
wild |
final public static function setOpenSetupIssueKeys($keys, $update_database)
array | $keys | |
$update_database |
wild |
final public static function getOpenSetupIssueKeysFromDatabase()
wild |
final public static function getUnignoredIssueKeys($all_issues)
array | $all_issues |
wild |
final public static function getConfigNeedsRepair()
wild |
final public static function setConfigNeedsRepair($needs_repair)
$needs_repair |
wild |
final public static function deleteSetupCheckCache()
wild |
final public static function willPreflightRequest()
wild |
public static function newIssueResponse($issue)
PhabricatorSetupIssue | $issue |
wild |
final public static function willProcessRequest()
wild |
final public static function isInFlight()
Test if we've survived through setup on at least one normal request without fataling.
If we've made it through setup without hitting any fatals, we switch to render a more friendly error page when encountering issues like database connection failures. This gives users a smoother experience in the face of intermittent failures.
bool | True if we've made it through setup since the last restart. |
final public static function loadAllChecks()
wild |
final public static function runNormalChecks()
wild |
final public static function repairConfig()
wild |