-
Notifications
You must be signed in to change notification settings - Fork 39
/
_ide_helper.php.sample
12652 lines (11496 loc) · 393 KB
/
_ide_helper.php.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/**
* An helper file for Laravel 4, to provide autocomplete information to your IDE
* Generated for Laravel 4.2.17 on 2015-11-30.
*
* @see https://github.com/barryvdh/laravel-ide-helper
*/
namespace {
exit("This file should not be included, only analyzed by your IDE");
class App extends \Illuminate\Support\Facades\App{
/**
* Bind the installation paths to the application.
*
* @param array $paths
* @return void
* @static
*/
public static function bindInstallPaths($paths){
\Illuminate\Foundation\Application::bindInstallPaths($paths);
}
/**
* Get the application bootstrap file.
*
* @return string
* @static
*/
public static function getBootstrapFile(){
return \Illuminate\Foundation\Application::getBootstrapFile();
}
/**
* Start the exception handling for the request.
*
* @return void
* @static
*/
public static function startExceptionHandling(){
\Illuminate\Foundation\Application::startExceptionHandling();
}
/**
* Get or check the current application environment.
*
* @param mixed
* @return string
* @static
*/
public static function environment(){
return \Illuminate\Foundation\Application::environment();
}
/**
* Determine if application is in local environment.
*
* @return bool
* @static
*/
public static function isLocal(){
return \Illuminate\Foundation\Application::isLocal();
}
/**
* Detect the application's current environment.
*
* @param array|string $envs
* @return string
* @static
*/
public static function detectEnvironment($envs){
return \Illuminate\Foundation\Application::detectEnvironment($envs);
}
/**
* Determine if we are running in the console.
*
* @return bool
* @static
*/
public static function runningInConsole(){
return \Illuminate\Foundation\Application::runningInConsole();
}
/**
* Determine if we are running unit tests.
*
* @return bool
* @static
*/
public static function runningUnitTests(){
return \Illuminate\Foundation\Application::runningUnitTests();
}
/**
* Force register a service provider with the application.
*
* @param \Illuminate\Support\ServiceProvider|string $provider
* @param array $options
* @return \Illuminate\Support\ServiceProvider
* @static
*/
public static function forceRegister($provider, $options = array()){
return \Illuminate\Foundation\Application::forceRegister($provider, $options);
}
/**
* Register a service provider with the application.
*
* @param \Illuminate\Support\ServiceProvider|string $provider
* @param array $options
* @param bool $force
* @return \Illuminate\Support\ServiceProvider
* @static
*/
public static function register($provider, $options = array(), $force = false){
return \Illuminate\Foundation\Application::register($provider, $options, $force);
}
/**
* Get the registered service provider instance if it exists.
*
* @param \Illuminate\Support\ServiceProvider|string $provider
* @return \Illuminate\Support\ServiceProvider|null
* @static
*/
public static function getRegistered($provider){
return \Illuminate\Foundation\Application::getRegistered($provider);
}
/**
* Resolve a service provider instance from the class name.
*
* @param string $provider
* @return \Illuminate\Support\ServiceProvider
* @static
*/
public static function resolveProviderClass($provider){
return \Illuminate\Foundation\Application::resolveProviderClass($provider);
}
/**
* Load and boot all of the remaining deferred providers.
*
* @return void
* @static
*/
public static function loadDeferredProviders(){
\Illuminate\Foundation\Application::loadDeferredProviders();
}
/**
* Register a deferred provider and service.
*
* @param string $provider
* @param string $service
* @return void
* @static
*/
public static function registerDeferredProvider($provider, $service = null){
\Illuminate\Foundation\Application::registerDeferredProvider($provider, $service);
}
/**
* Resolve the given type from the container.
*
* (Overriding Container::make)
*
* @param string $abstract
* @param array $parameters
* @return mixed
* @static
*/
public static function make($abstract, $parameters = array()){
return \Illuminate\Foundation\Application::make($abstract, $parameters);
}
/**
* Determine if the given abstract type has been bound.
*
* (Overriding Container::bound)
*
* @param string $abstract
* @return bool
* @static
*/
public static function bound($abstract){
return \Illuminate\Foundation\Application::bound($abstract);
}
/**
* "Extend" an abstract type in the container.
*
* (Overriding Container::extend)
*
* @param string $abstract
* @param \Closure $closure
* @return void
* @throws \InvalidArgumentException
* @static
*/
public static function extend($abstract, $closure){
\Illuminate\Foundation\Application::extend($abstract, $closure);
}
/**
* Register a "before" application filter.
*
* @param \Closure|string $callback
* @return void
* @static
*/
public static function before($callback){
\Illuminate\Foundation\Application::before($callback);
}
/**
* Register an "after" application filter.
*
* @param \Closure|string $callback
* @return void
* @static
*/
public static function after($callback){
\Illuminate\Foundation\Application::after($callback);
}
/**
* Register a "finish" application filter.
*
* @param \Closure|string $callback
* @return void
* @static
*/
public static function finish($callback){
\Illuminate\Foundation\Application::finish($callback);
}
/**
* Register a "shutdown" callback.
*
* @param callable $callback
* @return void
* @static
*/
public static function shutdown($callback = null){
\Illuminate\Foundation\Application::shutdown($callback);
}
/**
* Register a function for determining when to use array sessions.
*
* @param \Closure $callback
* @return void
* @static
*/
public static function useArraySessions($callback){
\Illuminate\Foundation\Application::useArraySessions($callback);
}
/**
* Determine if the application has booted.
*
* @return bool
* @static
*/
public static function isBooted(){
return \Illuminate\Foundation\Application::isBooted();
}
/**
* Boot the application's service providers.
*
* @return void
* @static
*/
public static function boot(){
\Illuminate\Foundation\Application::boot();
}
/**
* Register a new boot listener.
*
* @param mixed $callback
* @return void
* @static
*/
public static function booting($callback){
\Illuminate\Foundation\Application::booting($callback);
}
/**
* Register a new "booted" listener.
*
* @param mixed $callback
* @return void
* @static
*/
public static function booted($callback){
\Illuminate\Foundation\Application::booted($callback);
}
/**
* Run the application and send the response.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @return void
* @static
*/
public static function run($request = null){
\Illuminate\Foundation\Application::run($request);
}
/**
* Add a HttpKernel middleware onto the stack.
*
* @param string $class
* @param array $parameters
* @return $this
* @static
*/
public static function middleware($class, $parameters = array()){
return \Illuminate\Foundation\Application::middleware($class, $parameters);
}
/**
* Remove a custom middleware from the application.
*
* @param string $class
* @return void
* @static
*/
public static function forgetMiddleware($class){
\Illuminate\Foundation\Application::forgetMiddleware($class);
}
/**
* Handle the given request and get the response.
*
* Provides compatibility with BrowserKit functional testing.
*
* @implements HttpKernelInterface::handle
* @param \Symfony\Component\HttpFoundation\Request $request
* @param int $type
* @param bool $catch
* @return \Symfony\Component\HttpFoundation\Response
* @throws \Exception
* @static
*/
public static function handle($request, $type = 1, $catch = true){
return \Illuminate\Foundation\Application::handle($request, $type, $catch);
}
/**
* Handle the given request and get the response.
*
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
* @static
*/
public static function dispatch($request){
return \Illuminate\Foundation\Application::dispatch($request);
}
/**
* Call the "finish" and "shutdown" callbacks assigned to the application.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @param \Symfony\Component\HttpFoundation\Response $response
* @return void
* @static
*/
public static function terminate($request, $response){
\Illuminate\Foundation\Application::terminate($request, $response);
}
/**
* Call the "finish" callbacks assigned to the application.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @param \Symfony\Component\HttpFoundation\Response $response
* @return void
* @static
*/
public static function callFinishCallbacks($request, $response){
\Illuminate\Foundation\Application::callFinishCallbacks($request, $response);
}
/**
* Prepare the request by injecting any services.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Request
* @static
*/
public static function prepareRequest($request){
return \Illuminate\Foundation\Application::prepareRequest($request);
}
/**
* Prepare the given value as a Response object.
*
* @param mixed $value
* @return \Symfony\Component\HttpFoundation\Response
* @static
*/
public static function prepareResponse($value){
return \Illuminate\Foundation\Application::prepareResponse($value);
}
/**
* Determine if the application is ready for responses.
*
* @return bool
* @static
*/
public static function readyForResponses(){
return \Illuminate\Foundation\Application::readyForResponses();
}
/**
* Determine if the application is currently down for maintenance.
*
* @return bool
* @static
*/
public static function isDownForMaintenance(){
return \Illuminate\Foundation\Application::isDownForMaintenance();
}
/**
* Register a maintenance mode event listener.
*
* @param \Closure $callback
* @return void
* @static
*/
public static function down($callback){
\Illuminate\Foundation\Application::down($callback);
}
/**
* Throw an HttpException with the given data.
*
* @param int $code
* @param string $message
* @param array $headers
* @return void
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
* @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
* @static
*/
public static function abort($code, $message = '', $headers = array()){
\Illuminate\Foundation\Application::abort($code, $message, $headers);
}
/**
* Register a 404 error handler.
*
* @param \Closure $callback
* @return void
* @static
*/
public static function missing($callback){
\Illuminate\Foundation\Application::missing($callback);
}
/**
* Register an application error handler.
*
* @param \Closure $callback
* @return void
* @static
*/
public static function error($callback){
\Illuminate\Foundation\Application::error($callback);
}
/**
* Register an error handler at the bottom of the stack.
*
* @param \Closure $callback
* @return void
* @static
*/
public static function pushError($callback){
\Illuminate\Foundation\Application::pushError($callback);
}
/**
* Register an error handler for fatal errors.
*
* @param \Closure $callback
* @return void
* @static
*/
public static function fatal($callback){
\Illuminate\Foundation\Application::fatal($callback);
}
/**
* Get the configuration loader instance.
*
* @return \Illuminate\Config\LoaderInterface
* @static
*/
public static function getConfigLoader(){
return \Illuminate\Foundation\Application::getConfigLoader();
}
/**
* Get the environment variables loader instance.
*
* @return \Illuminate\Config\EnvironmentVariablesLoaderInterface
* @static
*/
public static function getEnvironmentVariablesLoader(){
return \Illuminate\Foundation\Application::getEnvironmentVariablesLoader();
}
/**
* Get the service provider repository instance.
*
* @return \Illuminate\Foundation\ProviderRepository
* @static
*/
public static function getProviderRepository(){
return \Illuminate\Foundation\Application::getProviderRepository();
}
/**
* Get the service providers that have been loaded.
*
* @return array
* @static
*/
public static function getLoadedProviders(){
return \Illuminate\Foundation\Application::getLoadedProviders();
}
/**
* Set the application's deferred services.
*
* @param array $services
* @return void
* @static
*/
public static function setDeferredServices($services){
\Illuminate\Foundation\Application::setDeferredServices($services);
}
/**
* Determine if the given service is a deferred service.
*
* @param string $service
* @return bool
* @static
*/
public static function isDeferredService($service){
return \Illuminate\Foundation\Application::isDeferredService($service);
}
/**
* Get or set the request class for the application.
*
* @param string $class
* @return string
* @static
*/
public static function requestClass($class = null){
return \Illuminate\Foundation\Application::requestClass($class);
}
/**
* Set the application request for the console environment.
*
* @return void
* @static
*/
public static function setRequestForConsoleEnvironment(){
\Illuminate\Foundation\Application::setRequestForConsoleEnvironment();
}
/**
* Call a method on the default request class.
*
* @param string $method
* @param array $parameters
* @return mixed
* @static
*/
public static function onRequest($method, $parameters = array()){
return \Illuminate\Foundation\Application::onRequest($method, $parameters);
}
/**
* Get the current application locale.
*
* @return string
* @static
*/
public static function getLocale(){
return \Illuminate\Foundation\Application::getLocale();
}
/**
* Set the current application locale.
*
* @param string $locale
* @return void
* @static
*/
public static function setLocale($locale){
\Illuminate\Foundation\Application::setLocale($locale);
}
/**
* Register the core class aliases in the container.
*
* @return void
* @static
*/
public static function registerCoreContainerAliases(){
\Illuminate\Foundation\Application::registerCoreContainerAliases();
}
/**
* Determine if the given abstract type has been resolved.
*
* @param string $abstract
* @return bool
* @static
*/
public static function resolved($abstract){
//Method inherited from \Illuminate\Container\Container
return \Illuminate\Foundation\Application::resolved($abstract);
}
/**
* Determine if a given string is an alias.
*
* @param string $name
* @return bool
* @static
*/
public static function isAlias($name){
//Method inherited from \Illuminate\Container\Container
return \Illuminate\Foundation\Application::isAlias($name);
}
/**
* Register a binding with the container.
*
* @param string|array $abstract
* @param \Closure|string|null $concrete
* @param bool $shared
* @return void
* @static
*/
public static function bind($abstract, $concrete = null, $shared = false){
//Method inherited from \Illuminate\Container\Container
\Illuminate\Foundation\Application::bind($abstract, $concrete, $shared);
}
/**
* Register a binding if it hasn't already been registered.
*
* @param string $abstract
* @param \Closure|string|null $concrete
* @param bool $shared
* @return void
* @static
*/
public static function bindIf($abstract, $concrete = null, $shared = false){
//Method inherited from \Illuminate\Container\Container
\Illuminate\Foundation\Application::bindIf($abstract, $concrete, $shared);
}
/**
* Register a shared binding in the container.
*
* @param string $abstract
* @param \Closure|string|null $concrete
* @return void
* @static
*/
public static function singleton($abstract, $concrete = null){
//Method inherited from \Illuminate\Container\Container
\Illuminate\Foundation\Application::singleton($abstract, $concrete);
}
/**
* Wrap a Closure such that it is shared.
*
* @param \Closure $closure
* @return \Closure
* @static
*/
public static function share($closure){
//Method inherited from \Illuminate\Container\Container
return \Illuminate\Foundation\Application::share($closure);
}
/**
* Bind a shared Closure into the container.
*
* @param string $abstract
* @param \Closure $closure
* @return void
* @static
*/
public static function bindShared($abstract, $closure){
//Method inherited from \Illuminate\Container\Container
\Illuminate\Foundation\Application::bindShared($abstract, $closure);
}
/**
* Register an existing instance as shared in the container.
*
* @param string $abstract
* @param mixed $instance
* @return void
* @static
*/
public static function instance($abstract, $instance){
//Method inherited from \Illuminate\Container\Container
\Illuminate\Foundation\Application::instance($abstract, $instance);
}
/**
* Alias a type to a shorter name.
*
* @param string $abstract
* @param string $alias
* @return void
* @static
*/
public static function alias($abstract, $alias){
//Method inherited from \Illuminate\Container\Container
\Illuminate\Foundation\Application::alias($abstract, $alias);
}
/**
* Bind a new callback to an abstract's rebind event.
*
* @param string $abstract
* @param \Closure $callback
* @return mixed
* @static
*/
public static function rebinding($abstract, $callback){
//Method inherited from \Illuminate\Container\Container
return \Illuminate\Foundation\Application::rebinding($abstract, $callback);
}
/**
* Refresh an instance on the given target and method.
*
* @param string $abstract
* @param mixed $target
* @param string $method
* @return mixed
* @static
*/
public static function refresh($abstract, $target, $method){
//Method inherited from \Illuminate\Container\Container
return \Illuminate\Foundation\Application::refresh($abstract, $target, $method);
}
/**
* Instantiate a concrete instance of the given type.
*
* @param string $concrete
* @param array $parameters
* @return mixed
* @throws BindingResolutionException
* @static
*/
public static function build($concrete, $parameters = array()){
//Method inherited from \Illuminate\Container\Container
return \Illuminate\Foundation\Application::build($concrete, $parameters);
}
/**
* Register a new resolving callback.
*
* @param string $abstract
* @param \Closure $callback
* @return void
* @static
*/
public static function resolving($abstract, $callback){
//Method inherited from \Illuminate\Container\Container
\Illuminate\Foundation\Application::resolving($abstract, $callback);
}
/**
* Register a new resolving callback for all types.
*
* @param \Closure $callback
* @return void
* @static
*/
public static function resolvingAny($callback){
//Method inherited from \Illuminate\Container\Container
\Illuminate\Foundation\Application::resolvingAny($callback);
}
/**
* Determine if a given type is shared.
*
* @param string $abstract
* @return bool
* @static
*/
public static function isShared($abstract){
//Method inherited from \Illuminate\Container\Container
return \Illuminate\Foundation\Application::isShared($abstract);
}
/**
* Get the container's bindings.
*
* @return array
* @static
*/
public static function getBindings(){
//Method inherited from \Illuminate\Container\Container
return \Illuminate\Foundation\Application::getBindings();
}
/**
* Remove a resolved instance from the instance cache.
*
* @param string $abstract
* @return void
* @static
*/
public static function forgetInstance($abstract){
//Method inherited from \Illuminate\Container\Container
\Illuminate\Foundation\Application::forgetInstance($abstract);
}
/**
* Clear all of the instances from the container.
*
* @return void
* @static
*/
public static function forgetInstances(){
//Method inherited from \Illuminate\Container\Container
\Illuminate\Foundation\Application::forgetInstances();
}
/**
* Determine if a given offset exists.
*
* @param string $key
* @return bool
* @static
*/
public static function offsetExists($key){
//Method inherited from \Illuminate\Container\Container
return \Illuminate\Foundation\Application::offsetExists($key);
}
/**
* Get the value at a given offset.
*
* @param string $key
* @return mixed
* @static
*/
public static function offsetGet($key){
//Method inherited from \Illuminate\Container\Container
return \Illuminate\Foundation\Application::offsetGet($key);
}
/**
* Set the value at a given offset.
*
* @param string $key
* @param mixed $value
* @return void
* @static
*/
public static function offsetSet($key, $value){
//Method inherited from \Illuminate\Container\Container
\Illuminate\Foundation\Application::offsetSet($key, $value);
}
/**
* Unset the value at a given offset.
*
* @param string $key
* @return void
* @static
*/
public static function offsetUnset($key){
//Method inherited from \Illuminate\Container\Container
\Illuminate\Foundation\Application::offsetUnset($key);
}
}
class Artisan extends \Illuminate\Support\Facades\Artisan{
/**
* Create and boot a new Console application.
*
* @param \Illuminate\Foundation\Application $app
* @return \Illuminate\Console\Application
* @static
*/
public static function start($app){
return \Illuminate\Console\Application::start($app);
}
/**
* Create a new Console application.
*
* @param \Illuminate\Foundation\Application $app
* @return \Illuminate\Console\Application
* @static
*/
public static function make($app){
return \Illuminate\Console\Application::make($app);
}
/**
* Boot the Console application.
*
* @return $this
* @static
*/
public static function boot(){
return \Illuminate\Console\Application::boot();
}
/**
* Run an Artisan console command by name.
*
* @param string $command
* @param array $parameters
* @param \Symfony\Component\Console\Output\OutputInterface $output
* @return void
* @static
*/
public static function call($command, $parameters = array(), $output = null){
\Illuminate\Console\Application::call($command, $parameters, $output);
}
/**
* @return string
* @static
*/
public static function output(){
return '';
}
/**
* Add a command to the console.
*
* @param \Symfony\Component\Console\Command\Command $command
* @return \Symfony\Component\Console\Command\Command
* @static
*/
public static function add($command){
return \Illuminate\Console\Application::add($command);
}
/**
* Add a command, resolving through the application.
*
* @param string $command
* @return \Symfony\Component\Console\Command\Command
* @static
*/
public static function resolve($command){
return \Illuminate\Console\Application::resolve($command);
}
/**
* Resolve an array of commands through the application.
*
* @param array|mixed $commands
* @return void
* @static
*/
public static function resolveCommands($commands){
\Illuminate\Console\Application::resolveCommands($commands);
}
/**
* Render the given exception.
*
* @param \Exception $e