public static function config($config = []) {
		if (!$config) {
			return ['rules' => static::$_rules];
		}
		foreach ($config as $key => $val) {
			if (isset(static::${'_' . $key})) {
				static::${'_' . $key} = $val + static::${'_' . $key};
			}
		}
	}
public static function config($config = []) {
		if (!$config) {
			return ['rules' => static::$_rules];
		}
		foreach ($config as $key => $val) {
			if (isset(static::${'_' . $key})) {
				static::${'_' . $key} = $val + static::${'_' . $key};
			}
		}
	}
public static function config ( $ config = [ ] ) { if ( ! $ config ) { return [ 'rules' => static :: $ _rules ] ; } foreach ( $ config as $ key => $ val ) { if ( isset ( static :: $ { '_' . $ key } ) ) { static :: $ { '_' . $ key } = $ val + static :: $ { '_' . $ key } ; } } }
Used to set configuration parameters for the Dispatcher.

@param array $config Optional configuration params.
@return array If no parameters are passed, returns an associative array with the
current configuration, otherwise returns null.
Used to set configuration parameters for the Dispatcher .