21 lines
634 B
PHP
21 lines
634 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
return [
|
||
|
|
/*
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
| Controller Directories
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
|
|
||
|
|
| Here you may specify the list of controller directories that should be scanned
|
||
|
|
| for route attributes. By default, it scans the standard Laravel controllers
|
||
|
|
| directory.
|
||
|
|
|
|
||
|
|
*/
|
||
|
|
|
||
|
|
'controller_directories' => [
|
||
|
|
// 注意:在包测试环境中 app_path() 不可用
|
||
|
|
// 在真实的 Laravel 应用中,这将是 app_path('Http/Controllers')
|
||
|
|
'Http/Controllers',
|
||
|
|
],
|
||
|
|
];
|