NginxGenerator
class NginxGenerator extends Generator implements GeneratorInterface (View source)
Properties
protected RuleInterface[] | $rules | from Generator |
Methods
__construct()
Initializes the instance.
null|RuleInterface
getRule(string $handle)
Return a defined rule given its handle (if found).
from
Generator
getPrettyUrlRule()
No description
Details
__construct()
Initializes the instance.
addRule(string $handle, RuleInterface $rule)
Add a new rule to be handled.
RuleInterface[]
getRules()
Returns all the defined rules.
null|RuleInterface
getRule(string $handle)
Return a defined rule given its handle (if found).
protected RuleInterface
getPrettyUrlRule()
No description