public addRequirement ( boolean $fulfilled, string $testMessage, string $helpHtml, string | null $helpText = null ) | ||
$fulfilled | boolean | Whether the requirement is fulfilled |
$testMessage | string | The message for testing the requirement |
$helpHtml | string | The help text formatted in HTML for resolving the problem |
$helpText | string | null | The help text (when null, it will be inferred from $helpHtml, i.e. stripped from HTML tags) |
public function addRequirement($fulfilled, $testMessage, $helpHtml, $helpText = null)
{
$this->add(new Requirement($fulfilled, $testMessage, $helpHtml, $helpText, false));
}