1 <?php |
1 <?php |
2 |
2 |
3 return [ |
3 return [ |
4 |
4 |
5 /* |
5 /* |
6 |-------------------------------------------------------------------------- |
6 |-------------------------------------------------------------------------- |
7 | Additional Compiled Classes |
7 | Additional Compiled Classes |
8 |-------------------------------------------------------------------------- |
8 |-------------------------------------------------------------------------- |
9 | |
9 | |
10 | Here you may specify additional classes to include in the compiled file |
10 | Here you may specify additional classes to include in the compiled file |
11 | generated by the `artisan optimize` command. These should be classes |
11 | generated by the `artisan optimize` command. These should be classes |
12 | that are included on basically every request into the application. |
12 | that are included on basically every request into the application. |
13 | |
13 | |
14 */ |
14 */ |
15 |
15 |
16 'files' => [ |
16 'files' => [ |
17 |
17 |
18 realpath(__DIR__.'/../app/Providers/AppServiceProvider.php'), |
18 realpath(__DIR__.'/../app/Providers/AppServiceProvider.php'), |
19 realpath(__DIR__.'/../app/Providers/BusServiceProvider.php'), |
19 realpath(__DIR__.'/../app/Providers/BusServiceProvider.php'), |
20 realpath(__DIR__.'/../app/Providers/ConfigServiceProvider.php'), |
20 realpath(__DIR__.'/../app/Providers/ConfigServiceProvider.php'), |
21 realpath(__DIR__.'/../app/Providers/EventServiceProvider.php'), |
21 realpath(__DIR__.'/../app/Providers/EventServiceProvider.php'), |
22 realpath(__DIR__.'/../app/Providers/RouteServiceProvider.php'), |
22 realpath(__DIR__.'/../app/Providers/RouteServiceProvider.php'), |
23 |
23 |
24 ], |
24 ], |
25 |
25 |
26 /* |
26 /* |
27 |-------------------------------------------------------------------------- |
27 |-------------------------------------------------------------------------- |
28 | Compiled File Providers |
28 | Compiled File Providers |
29 |-------------------------------------------------------------------------- |
29 |-------------------------------------------------------------------------- |
30 | |
30 | |
31 | Here you may list service providers which define a "compiles" function |
31 | Here you may list service providers which define a "compiles" function |
32 | that returns additional files that should be compiled, providing an |
32 | that returns additional files that should be compiled, providing an |
33 | easy way to get common files from any packages you are utilizing. |
33 | easy way to get common files from any packages you are utilizing. |
34 | |
34 | |
35 */ |
35 */ |
36 |
36 |
37 'providers' => [ |
37 'providers' => [ |
38 // |
38 // |
39 ], |
39 ], |
40 |
40 |
41 ]; |
41 ]; |