forked from laravel/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
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 (laravel#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
Showing
3 changed files
with
153 additions
and
54 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
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