RouteServiceProvider
class RouteServiceProvider extends RouteServiceProvider
Properties
| protected string | $prefix | 前缀 | from RouteServiceProvider | 
| protected string | $namespace | This namespace is applied to your controller routes. | 
Methods
                    void
                
                
                    boot()
        
                                            
                
            Define your route model bindings, pattern filters, etc.
                    void
                
                
                    map()
        
                                            
                
            Define the routes for the module.
                    void
                
                
                    mapWebRoutes()
        
                                            
                
            Define the "web" routes for the module.
                    void
                
                
                    mapApiRoutes()
        
                                            
                
            Define the "api" routes for the module.
Details
        in 
RouteServiceProvider at line 19
                            
    __construct($app)
        
    
    No description
        at line 22
                            void
    boot()
        
    
    Define your route model bindings, pattern filters, etc.
        at line 31
                            void
    map()
        
    
    Define the routes for the module.
        at line 43
                    protected        void
    mapWebRoutes()
        
    
    Define the "web" routes for the module.
These routes all receive session state, CSRF protection, etc.
        at line 59
                    protected        void
    mapApiRoutes()
        
    
    Define the "api" routes for the module.
These routes are typically stateless.