You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: authentication.md
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -741,17 +741,17 @@ Once the configuration file has been published, you may set the `rehash_on_login
741
741
742
742
Laravel dispatches a variety of [events](/docs/{{version}}/events) during the authentication process. You may [define listeners](/docs/{{version}}/events) for any of the following events:
Copy file name to clipboardExpand all lines: cache.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -440,12 +440,12 @@ Once your extension is registered, update the `CACHE_STORE` environment variable
440
440
441
441
To execute code on every cache operation, you may listen for various [events](/docs/{{version}}/events) dispatched by the cache:
442
442
443
-
Event Name |
444
-
------------- |
445
-
`Illuminate\Cache\Events\CacheHit` |
446
-
`Illuminate\Cache\Events\CacheMissed` |
447
-
`Illuminate\Cache\Events\KeyForgotten` |
448
-
`Illuminate\Cache\Events\KeyWritten` |
443
+
|Event Name |
444
+
|--- |
445
+
|`Illuminate\Cache\Events\CacheHit`|
446
+
|`Illuminate\Cache\Events\CacheMissed`|
447
+
|`Illuminate\Cache\Events\KeyForgotten`|
448
+
|`Illuminate\Cache\Events\KeyWritten`|
449
449
450
450
To increase performance, you may disable cache events by setting the `events` configuration option to `false` for a given cache store in your application's `config/cache.php` configuration file:
Copy file name to clipboardExpand all lines: configuration.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ Before loading your application's environment variables, Laravel determines if a
72
72
All variables in your `.env` files are typically parsed as strings, so some reserved values have been created to allow you to return a wider range of types from the `env()` function:
The singleton resource definition above will register the following routes. As you can see, "creation" routes are not registered for singleton resources, and the registered routes do not accept an identifier since only one instance of the resource may exist:
In this example, the `photos` resource would receive all of the [standard resource routes](#actions-handled-by-resource-controller); however, the `thumbnail` resource would be a singleton resource with the following routes:
If you would like Laravel to register the `DELETE` route for a singleton resource but not register the creation or storage routes, you may utilize the `destroyable` method:
0 commit comments