-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] Create getter for the middleware priority (#37271)
* Create getter for the middleware priority This getter will help to create tests to ensure that middlewares are registered in the right priority. My use case for this is a middleware that I want to ensure gets registered after the `StartSession` but right before the `AuthenticatesRequests` one. With this getter I can use their indexes to write a test for it. * Update Kernel.php Co-authored-by: Taylor Otwell <taylor@laravel.com>
- Loading branch information
1 parent
c11ecea
commit fe6e25e
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters