src/Routing/Router.php
public function createRoute($route)
    {
        return new Route($this->adapter, $this->container, $this->container['request'], $route);
    }
public function createRoute($route)
    {
        return new Route($this->adapter, $this->container, $this->container['request'], $route);
    }
public function createRoute ( $ route ) { return new Route ( $ this -> adapter , $ this -> container , $ this -> container [ 'request' ] , $ route ) ; }
Create a new route instance from an adapter route.

@param array|\Illuminate\Routing\Route $route

@return \Dingo\Api\Routing\Route
Create a new route instance from an adapter route .