getScope static method

Scope getScope(
  1. String scopeId
)

Implementation

static Scope getScope(final String scopeId) {
  final scope = _resolveScope(scopeId);
  if (scope == null) throw NoScopeFoundException(scopeId);
  return scope;
}