protected function loadRoutes()
    {
        if ($this->eye->laravelVersionIs('>=', '5.4.0')) {
            Route::aliasMiddleware('eyewitness_auth', Authenticate::class);
        } else {
            Route::middleware('eyewitness_auth', Authenticate::class);
        }

        if (! $this->app->routesAreCached()) {
            require __DIR__.'/../routes/web.php';
            require __DIR__.'/../routes/assets.php';
            require __DIR__.'/../routes/api.php';
            require __DIR__.'/../routes/auth.php';
        }
    }
protected function loadRoutes()
    {
        if ($this->eye->laravelVersionIs('>=', '5.4.0')) {
            Route::aliasMiddleware('eyewitness_auth', Authenticate::class);
        } else {
            Route::middleware('eyewitness_auth', Authenticate::class);
        }

        if (! $this->app->routesAreCached()) {
            require __DIR__.'/../routes/web.php';
            require __DIR__.'/../routes/assets.php';
            require __DIR__.'/../routes/api.php';
            require __DIR__.'/../routes/auth.php';
        }
    }
protected function loadRoutes ( ) { if ( $ this -> eye -> laravelVersionIs ( '>=' , '5.4.0' ) ) { Route :: aliasMiddleware ( 'eyewitness_auth' , Authenticate :: class ) ; } else { Route :: middleware ( 'eyewitness_auth' , Authenticate :: class ) ; } if ( ! $ this -> app -> routesAreCached ( ) ) { require __DIR__ . '/../routes/web.php' ; require __DIR__ . '/../routes/assets.php' ; require __DIR__ . '/../routes/api.php' ; require __DIR__ . '/../routes/auth.php' ; } }
Load the package routes.

@return void
Load the package routes .