private static function matchableRequest(ContainerInterface $container): MatchableRequestInterface
    {
        if (!$container->has(MatchableRequestInterface::class)) {
            return new MatchableRequest($container->get(ServerRequestInterface::class));
        }

        return $container->get(MatchableRequestInterface::class);
    }
private static function matchableRequest(ContainerInterface $container): MatchableRequestInterface
    {
        if (!$container->has(MatchableRequestInterface::class)) {
            return new MatchableRequest($container->get(ServerRequestInterface::class));
        }

        return $container->get(MatchableRequestInterface::class);
    }
private static function matchableRequest ( ContainerInterface $ container ) : MatchableRequestInterface { if ( ! $ container -> has ( MatchableRequestInterface :: class ) ) { return new MatchableRequest ( $ container -> get ( ServerRequestInterface :: class ) ) ; } return $ container -> get ( MatchableRequestInterface :: class ) ; }
Return an instance of the MatchableInterface.

@throws ContainerExceptionInterface
@throws NotFoundExceptionInterface
Return an instance of the MatchableInterface .