public function __construct()

in src/router/PrefixMatching/PrefixMapOrResponder.php [14:22]


  public function __construct(
    private ?PrefixMap<T> $map,
    private ?T $responder,
  ) {
    invariant(
      ($map === null) !== ($responder === null),
      'Must specify map *or* responder',
    );
  }