NginxConfigurator
class NginxConfigurator implements ConfiguratorInterface (View source)
Methods
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
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).