Used to set configuration parameters for the Dispatcher.
public static config ( array $config = [] ) : array | ||
$config | array | Possible key settings are `'classes'` which sets the class dependencies for `Dispatcher` (i.e. `'request'` or `'router'`) and `'rules'`, which sets the pre-processing rules for routing parameters. For more information on the `'rules'` setting, see the `$_rules` property. |
return | array | If no parameters are passed, returns an associative array with the current configuration, otherwise returns `null`. |