| __construct(Darken\Config\ConfigInterface $config) |
|---|
| url(string $class, array $params, string $method) |
| findRouteNode(string $url) |
| setTrieForTesting(array $trie) |
| $config | Darken\Config\ConfigInterface |
Build a URL path for a compiled page class.
| $class | string |
| $params | array |
| $method | string |
| Return | string |
Optional forward-matcher (kept public if you use it elsewhere). Returns [node, params] or false if not found.
| $url | string |
| Return | false|array |
Set the trie directly for testing purposes
| $trie | array |
| Return | void |