Blame view

app/Console/Stubs/Modules/start.stub 516 Bytes
b7c7a5f6   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  <?php
  
  /*
  |--------------------------------------------------------------------------
  | Register Namespaces And Routes
  |--------------------------------------------------------------------------
  |
  | When a module starting, this file will executed automatically. This helps
  | to register some namespaces like translator or view. Also this file
  | will load the routes file for each module. You may also modify
  | this file as you want.
  |
  */
  
  if (!app()->routesAreCached()) {
      require __DIR__ . '/Http/routes.php';
  }