mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-17 17:47:13 +00:00
Merge pull request #338 from cnanney/patch-1
Look for additional facade aliases in app config array
This commit is contained in:
@@ -237,6 +237,8 @@ class Generator
|
|||||||
'Storage' => 'Illuminate\Support\Facades\Storage',
|
'Storage' => 'Illuminate\Support\Facades\Storage',
|
||||||
//'Validator' => 'Illuminate\Support\Facades\Validator',
|
//'Validator' => 'Illuminate\Support\Facades\Validator',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
$facades = array_merge($facades, $this->config->get('app.aliases', []));
|
||||||
|
|
||||||
// Only return the ones that actually exist
|
// Only return the ones that actually exist
|
||||||
return array_filter($facades, function($alias){
|
return array_filter($facades, function($alias){
|
||||||
|
|||||||
Reference in New Issue
Block a user