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. |
public function setWorkingCopyIdentity($working_copy)
ArcanistWorkingCopyIdentity | $working_copy |
wild |
public function getProjectConfig($key)
$key |
wild |
public function getLocalConfig($key)
$key |
wild |
public function getWorkingCopyIdentity()
wild |
public function getConfigFromAnySource($key, $default)
Read a configuration directive from any available configuration source. This includes the directive in local, user and system configuration in addition to project configuration, and configuration provided as command arguments ("runtime"). The precedence is runtime > local > project > user > system
key | $key | Key to read. |
wild | $default | Default value if key is not found. |
wild | Value, or default value if not found. |
public function getConfigFromAllSources($key)
For the advanced case where you want customized configuration handling.
Reads the configuration from all available sources, returning a map (array) of results, with the source as key. Missing values will not be in the map, so an empty array will be returned if no results are found.
The map is ordered by the canonical sources precedence, which is: runtime > local > project > user > system
key | $key | Key to read |
array | Mapping of source => value read. Sources with no value are not in the array. |
public function setRuntimeConfig($key, $value)
Sets a runtime config value that takes precedence over any static config values.
key | $key | Key to set. |
value | $value | The value of the key. |
wild |
public function readLocalArcConfig()
wild |
public function writeLocalArcConfig($config)
array | $config |
wild |
public function readUserConfigurationFile()
This is probably not the method you're looking for; try readUserArcConfig().
wild |
public function writeUserConfigurationFile($config)
This is probably not the method you're looking for; try writeUserArcConfig().
$config |
wild |
public function setUserConfigurationFileLocation($custom_arcrc)
$custom_arcrc |
wild |
public function getUserConfigurationFileLocation()
wild |
public function readUserArcConfig()
wild |
public function writeUserArcConfig($options)
array | $options |
wild |
public function getSystemArcConfigLocation()
wild |
public function readSystemArcConfig()
wild |
public function applyRuntimeArcConfig($args)
$args |
wild |
public function readDefaultConfig()
wild |