RequirementCollection::addRequirement
Adds a mandatory requirement.
Signature
public function addRequirement(Boolean
$fulfilled,
[string
$testMessage = null,
[string
$helpHtml = null,
[string|null
$helpText = null]]] )
Parameters
$fulfilled
—
object
- 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
—
object
- The help text (when null, it will be inferred from $helpHtml, i.e. stripped from HTML tags)