File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -391,38 +391,38 @@ Dump the given variable and end execution of the script.
391
391
392
392
dd($value);
393
393
394
- ### value
394
+ ### elixir
395
395
396
- If the given value is a `Closure`, return the value returned by the `Closure`. Otherwise, return the value .
396
+ Get the path to a versioned Elixir file .
397
397
398
- $value = value(function() { return 'bar'; } );
398
+ elixir($file );
399
399
400
- ### with
400
+ ### env
401
401
402
- Return the given object. Useful for method chaining constructors in PHP 5.3.x .
402
+ Gets the value of an environment variable or return a default value .
403
403
404
- $value = with(new Foo)->doWork();
405
-
406
- ### view
404
+ env('APP_ENV', 'production')
407
405
408
- Get the evaluated view contents for the given view.
406
+ ### event
409
407
410
- return view('auth.login');
408
+ Fire an event.
411
409
412
- ### env
410
+ event('my.event');
413
411
414
- Gets the value of an environment variable. Second parameter is the default string to be returned.
412
+ ### value
415
413
416
- env('APP_ENV', 'production')
414
+ If the given value is a `Closure`, return the value returned by the `Closure`. Otherwise, return the value.
417
415
418
- ### event
416
+ $value = value(function() { return 'bar'; });
419
417
420
- Fire an event and call the listeners.
418
+ ### view
421
419
422
- event('my.event');
420
+ Get a View instance for the given view path.
423
421
424
- ### elixir
422
+ return view('auth.login');
425
423
426
- Get the path to a versioned Elixir file.
424
+ ### with
427
425
428
- elixir($file);
426
+ Return the given object. Useful for method chaining constructors in PHP 5.3.x.
427
+
428
+ $value = with(new Foo)->doWork();
You can’t perform that action at this time.
0 commit comments