src/Everest/Http/RoutingContext.php
public function addSubContext(string $prefix, Closure $invoker) : RoutingContext
  {
    return $this->contexts[] = new RoutingContext($prefix, $invoker, $this);
  }
public function addSubContext(string $prefix, Closure $invoker) : RoutingContext
  {
    return $this->contexts[] = new RoutingContext($prefix, $invoker, $this);
  }
public function addSubContext ( string $ prefix , Closure $ invoker ) : RoutingContext { return $ this -> contexts [ ] = new RoutingContext ( $ prefix , $ invoker , $ this ) ; }
Adds a new sub context to this context

@param string  $prefix
The path prefix of this context
@param Closure $invoker
The closure invoking the new sub context

@return Everest\Http\RoutingContext
The new sub context
Adds a new sub context to this context