ApacheConfigurator
class ApacheConfigurator implements ConfiguratorInterface (View source)
Methods
string
getConfiguredRule(string $configuration, RuleInterface $rule)
Gets the rule, if present in a configuration.
bool
string
addRule(string $configuration, RuleInterface $rule)
Adds a rule to the configuration (if not already there).
string
removeRule(string $configuration, RuleInterface $rule)
Removes a rule from the configuration (if it's there).
Details
protected string
getConfiguredRule(string $configuration, RuleInterface $rule)
Gets the rule, if present in a configuration.
bool
hasRule(string $configuration, RuleInterface $rule)
Checks if a configuration contains a rule.
string
addRule(string $configuration, RuleInterface $rule)
Adds a rule to the configuration (if not already there).
string
removeRule(string $configuration, RuleInterface $rule)
Removes a rule from the configuration (if it's there).