Page MenuHomePhabricator
Diviner Phabricator Tech Docs DifferentialReviewerStatus

final class DifferentialReviewerStatus
Phabricator Technical Documentation (Differential)

This class is not documented.

Methods

public static function getStatusStrength($constant)

Returns the relative strength of a status, used to pick a winner when a transaction group makes several status changes to a particular reviewer.

For example, if you accept a revision and leave a comment, the transactions will attempt to update you to both "commented" and "accepted". We want "accepted" to win, because it's the stronger of the two.

Parameters
const$constantReviewer status constant.
Return
intRelative strength (higher is stronger).