RequirementCollection::addRecommendation
Adds an optional recommendation.
Signature
public function addRecommendation(Boolean
$fulfilled,
[string
$testMessage = null,
[string
$helpHtml = null,
[string|null
$helpText = null]]] )
Parameters
$fulfilled
—
object
- Whether the recommendation is fulfilled
$testMessage
—
string
- The message for testing the recommendation
$helpHtml
—
string
- The help text formatted in HTML for resolving the problem
$helpText
—
object
- The help text (when null, it will be inferred from $helpHtml, i.e. stripped from HTML tags)