group method

  1. @override
Pharaoh group(
  1. String path,
  2. RouterContract router
)
override

Implementation

@override
Pharaoh group(final String path, final RouterContract router) {
  if (router is! GroupRouter) {
    throw PharaohException.value('Router is not an instance of GroupRouter');
  }
  router.commit(path, spanner);
  return this;
}