EnvironmentDetector (Foundation)
EnvironmentDetector
class EnvironmentDetector (View source)
Methods
string | detect( Closure $callback, array|null $consoleArgs = null) Detect the application's current environment. |
Details
string detect( Closure $callback, array|null $consoleArgs = null)
Detect the application's current environment.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Foundation/EnvironmentDetector.html