UNKNOWN
UNKNOWN
Class Reason
getRequiredVersionForReason(integer $reason) : string|boolean
Get the required version for a reason.
This static method may be used to get the required version of a reason constant defined in RequirementReason. If no matching version for a constant can be found an InvalidArgumentException will be thrown.
This method may return a falseable string or bool(false). Use !== false to check for a valid returned version. If false is returned refer to the corresponding method on the class that returned the constant.
integer | $reason | One of the constants defined in RequirementReason |
The required version or bool(false)