-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
General cleaning and formatting of the Kernel class, moved kernel.handled event into an object based event.
- Loading branch information
1 parent
96ba7f8
commit 43a5e5f
Showing
2 changed files
with
85 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
namespace Illuminate\Foundation\Http\Events; | ||
|
||
class RequestHandled | ||
{ | ||
/** | ||
* The request instance. | ||
* | ||
* @var \Illuminate\Http\Request | ||
*/ | ||
public $request; | ||
|
||
/** | ||
* The response instance. | ||
* | ||
* @var \Illuminate\Http\Response | ||
*/ | ||
public $response; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @param \Illuminate\Http\Request $request | ||
* @param \Illuminate\Http\Response $response | ||
* @return void | ||
*/ | ||
public function __construct($request, $response) | ||
{ | ||
$this->request = $request; | ||
$this->response = $response; | ||
} | ||
} |
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