$reasonId
$reasonId : integer|string
The reason this reasoning maps to
This may be an arbitrary scalar but is most likely to map to a known constant in RequirementReason.
Class Reasoning
$result : \Pvra\AnalysisResult
__construct(integer|string $reasonId, integer $line, \Pvra\AnalysisResult $result, string|null $version = null, null|string $msg = null, array $data = array())
RequirementReasoning constructor
Used to construct this reasoning. Only the reasonId, line and result parameters
are required. The remaining parameters can be determined based on the reasonId and result instance. *
| integer|string | $reasonId | The mapped reasonId |
| integer | $line | The mapped line |
| \Pvra\AnalysisResult | $result | The result this reasoning applies to |
| string|null | $version | The required version. |
| null|string | $msg | The message related to this reasoning. If this parameter is set to |
| array | $data | An array of additional data passed to the |
getResult() : \Pvra\AnalysisResult
Get the related result