Commit Graph

60 Commits

Author SHA1 Message Date
Taylor Otwell ca5c59ca1f formatitng 2018-08-05 08:35:14 -10:00
Antonio Pauletich 02fffa750a
Update docs about methods whose type-hinted dependencies get injected via the DIC 2018-08-05 18:11:44 +02:00
Taylor Otwell 0612f0bec2 wording 2018-03-15 16:01:34 -05:00
andrzej_devpark 984d785183 The middleware terminate method descripton is misleading.
From the current version you can think that something will be done on server side, when the browser will really receive the response. THIS IS NOT TRUE - if you will put e.g. sleep(10) in the terminate method - you will see in the browser that you will have to wait those additional 10second for the response from server to be done.

I've checked this using php artisan serve and also by running it on Apache 2.4 with php 7.2 installed.
2018-03-15 14:41:03 +01:00
Duilio Palacios e8b80a33a9
Update middleware.md 2018-02-02 08:46:18 +00:00
Jim Fisher e73c40f0de
Don't say simply 2018-01-23 17:48:13 +00:00
Taylor Otwell 4e236c29c5 add to docs 2017-07-16 20:28:34 -05:00
Taylor Otwell 0c0eddc286 Update middleware.md 2017-03-08 07:20:26 -06:00
David Orr bd69113e4d Terminable route middleware clarification
There was some confusion with some developers because the documentation seemed to say that terminable middleware has to be defined in your *global* middleware list, but in fact terminable middleware can be used as *route* middleware as well.
2017-03-07 23:40:26 -06:00
Logan Bailey e95bb6be2a 📚 Remove reference to filters from examples 2016-12-12 21:55:10 -08:00
Taylor Otwell 5adb215632 fix wording 2016-08-19 17:02:01 -05:00
Taylor Otwell a3fad21019 update route references 2016-07-14 10:59:31 -05:00
Taylor Otwell 1ef30d5f27 remove http 2016-07-11 22:12:40 -05:00
Taylor Otwell 31e571835d working on middleware docs and updated notes 2016-07-11 20:51:08 -05:00
Taylor Otwell f0f698a54d clarifying docs 2016-03-23 17:16:18 -05:00
Taylor Otwell 516a65dc8a tweak wording 2016-02-10 10:00:44 -06:00
vlakoff d046fdfe49 One can directly pass the middleware class name 2016-02-10 02:09:33 +01:00
Oli Morris 494f175c57 Remove ambiguity associated with 'old'
As per pull request #1974, removed the ambiguity associated with 'OldMiddleware'. This could imply an outdated middleware. AgeMiddleware is more apt.
2016-01-14 20:55:21 +00:00
Alex Bowers 6d32cb3a74 Fixed typo in Middleware 2015-12-23 17:50:56 +00:00
Taylor Otwell c009dbd1e0 working on middleware docs 2015-12-16 14:59:26 -06:00
Taylor Otwell bba30440a9 document middleware groups 2015-12-15 13:50:39 -06:00
Taylor Otwell 9ca7bb116b tweak wording 2015-10-22 10:29:08 -07:00
Roman Kinyakin 5ebf23e3c0 Undocumented middleware definition method 2015-10-21 10:04:02 +06:00
Taylor Otwell 742ffbf4ba show example of multiple middleware 2015-09-09 16:59:15 -05:00
Taylor Otwell 097714e5e8 wording 2015-07-20 11:20:55 -05:00
ifeltsweet daf16c2a25 Add important note about middleware terminate method
If middleware is not registered as singleton within container and it has terminate method, laravel will create a new instance of your middleware and call terminate on that instance, losing your previous instance properties.
2015-07-20 22:31:59 +07:00
= Geo = 75651ca929 replace all tabs with spaces (PSR-2) 2015-07-02 10:54:27 -04:00
Antony Budianto 031f08d6f3 Update PSR2
consistent for the whole page
2015-06-18 18:49:15 +07:00
Akshay Agarwal 7762134bee Update class references
Use the class constant syntax as in the code of Laravel 5.1
2015-06-15 21:06:49 +05:30
Yada Khov c183ef4607 Put all namesapce on it's on line as reflective of PSR coding style and what's in the codebase 2015-06-12 09:43:31 -04:00
Fabian Laule 9a4402d40d Updated the explanation after the OldMiddleware code example 2015-06-10 00:54:37 +02:00
Fabian Laule 2b81b893a2 Changed the comparison operator to the right one 2015-06-10 00:38:20 +02:00
Taylor Otwell 42eed27f9c update docs for middleware 2015-06-08 13:14:47 -05:00
Taylor Otwell e081bbcb14 work ond ocs 2015-06-04 14:47:38 -05:00
Antony Budianto f5fd4bd716 Add missing @param phpdoc
Add missing @param phpdoc at middleware parameter
2015-05-25 17:11:44 +07:00
Antony Budianto b4541fbd27 Add missing use Closure 2015-05-23 21:30:56 +07:00
Taylor Otwell f8af5345a6 Merge pull request #1443 from GrahamCampbell/patch-1
Added missing imports
2015-05-22 09:34:01 -05:00
Taylor Otwell 878d0aff7f middleware params. 2015-05-21 15:39:54 -05:00
Graham Campbell 9855b3b0e4 Added missing imports 2015-05-21 20:28:50 +01:00
Taylor Otwell ec1d462ab7 Working on middleware docs. 2015-05-01 09:02:10 -05:00
Taylor Otwell 2a45bcda61 fix conflicts. 2015-05-01 08:01:47 -05:00
Benoth c0f38bb559 Missing Closure
Declaration of StartSession::handle() must be compatible with Illuminate\Contracts\Routing\Middleware::handle($request, Closure $next)
2015-04-24 10:56:33 +02:00
Taylor Otwell f80f0707e4 Wording. 2015-03-30 16:27:12 -05:00
Taylor Otwell 651826f397 Wording. 2015-03-30 16:26:48 -05:00
Taylor Otwell bfa94a5b24 Examples. 2015-03-30 16:25:53 -05:00
Taylor Otwell 80a81ec065 Wording. 2015-02-24 12:18:35 -06:00
Taylor Otwell 48d1ce0fa2 Merge pull request #1172 from HipsterJazzbo/patch-3
Clarify middleware running before/after a request has been processed
2015-02-24 12:16:41 -06:00
Caleb Fidecaro 0110ff6bf6 Typo 2015-02-03 17:04:42 +13:00
Taylor Otwell 8edcd7b931 Document Terminable Middleware. 2015-02-02 20:39:15 -06:00
Caleb Fidecaro c15605d81d Update middleware.md
Add some clarification around middleware running before/after a request has been processed
2015-02-03 10:48:03 +13:00