RuleInterface
interface RuleInterface (View source)
Interface describing a single rule for the web server.
Methods
string
getCode()
Return the code of the rule.
isEnabled()
Is this rule enabled (should be present in the configuration) or disabled (should not be present in the configuration)?
string
getCommentsBefore()
Return optional comments to be placed before the rule itself.
string
getCommentsAfter()
Return optional comments to be placed after the rule itself.
Details
string
getCode()
Return the code of the rule.
isEnabled()
Is this rule enabled (should be present in the configuration) or disabled (should not be present in the configuration)?
string
getCommentsBefore()
Return optional comments to be placed before the rule itself.
string
getCommentsAfter()
Return optional comments to be placed after the rule itself.