public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
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.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public static function newCommandCorrector()
public static function newCommandCorrector()
Build a new corrector with parameters for correcting commands, like fixing "dfif" into "diff" in "arc diff".
Return
PhutilArgumentSpellingCorrector | Configured corrector. |
public static function newFlagCorrector()
public static function newFlagCorrector()
Build a new corrector with parameters for correcting flags, like fixing "--nolint" into "--no-lint".
Return
PhutilArgumentSpellingCorrector | Configured corrector. |
public function setMode($mode)
public function setMode($mode)
Parameters
$mode |
Return
wild |
public function getMode()
public function getMode()
Return
wild |
public function setEditDistanceMatrix($matrix)
public function setEditDistanceMatrix($matrix)
Parameters
PhutilEditDistanceMatrix | $matrix |
Return
wild |
public function getEditDistanceMatrix()
public function getEditDistanceMatrix()
Return
wild |
public function setMaximumDistance($maximum_distance)
public function setMaximumDistance($maximum_distance)
Parameters
$maximum_distance |
Return
wild |
public function getMaximumDistance()
public function getMaximumDistance()
Return
wild |
public function correctSpelling($input, $options)
public function correctSpelling($input, $options)
Parameters
$input | ||
array | $options |
Return
wild |
private function normalizeString($string)
private function normalizeString($string)
Parameters
$string |
Return
wild |