# PlatformRouter Service

Module
import { PlatformRouter } from "@tsed/common"
Source/packages/common/src/platform/services/PlatformRouter.ts

# Overview

class PlatformRouter extends PlatformDriver<Express.Router> {
    constructor(platform: PlatformHandler, configuration: Configuration, routerOptions: any);
    static create(injector: InjectorService, routerOptions: any): PlatformRouter;
}

# Members

static create(injector: InjectorService, routerOptions: any): PlatformRouter

Create a new instance of PlatformRouter