wording
This commit is contained in:
parent
984d785183
commit
0612f0bec2
|
@ -223,7 +223,7 @@ Middleware parameters may be specified when defining the route by separating the
|
|||
<a name="terminable-middleware"></a>
|
||||
## Terminable Middleware
|
||||
|
||||
Sometimes a middleware may need to do some work after the HTTP response has been prepared to be send. For example, the "session" middleware included with Laravel writes the session data to storage after the response has been prepared to be sent to the browser. If you define a `terminate` method on your middleware, it will automatically be called after the response is prepared to be sent to the browser.
|
||||
Sometimes a middleware may need to do some work after the HTTP response has been prepared. For example, the "session" middleware included with Laravel writes the session data to storage after the response has been fully prepared. If you define a `terminate` method on your middleware, it will automatically be called after the response is ready to be sent to the browser.
|
||||
|
||||
<?php
|
||||
|
||||
|
|
Loading…
Reference in New Issue