Свойство | Type | Description | |
---|---|---|---|
$app | Laravel application from which the data is retrieved | ||
$log | Log data structure | ||
$response | Laravel response from which the data is retrieved | ||
$timeline | Timeline data structure | ||
$views | Timeline data structure for views data |
Méthode | Description | |
---|---|---|
__construct ( Illuminate\Foundation\Application $app ) | Create a new data source, takes Laravel application instance as an argument | |
listenToEvents ( ) | Hook up callbacks for various Laravel events, providing information for timeline and log entries | |
resolve ( |
Adds request method, uri, controller, headers, response status, timeline data and log entries to the request | |
setResponse ( |
Set a custom response instance |
Méthode | Description | |
---|---|---|
getController ( ) | Return a textual representation of current route's controller | |
getRequestHeaders ( ) | Return request headers | |
getRequestMethod ( ) | Return request method | |
getRequestUri ( ) | Return request URI | |
getResponseStatus ( ) | Return response status code | |
getRoutes ( ) | Return array of application routes | |
getSessionData ( ) | Return session data (replace unserializable items, attempt to remove passwords) |
public __construct ( Illuminate\Foundation\Application $app ) | ||
$app | Illuminate\Foundation\Application |
protected getController ( ) |
protected getSessionData ( ) |
public listenToEvents ( ) |
public resolve ( |
||
$request |
public setResponse ( |
||
$response |
protected $response |