PHP 클래스 Clockwork\DataSource\LumenDataSource

상속: extends DataSource
파일 보기 프로젝트 열기: itsgoingd/clockwork

보호된 프로퍼티들

프로퍼티 타입 설명
$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

공개 메소드들

메소드 설명
__construct ( 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 ( Request $request ) Adds request method, uri, controller, headers, response status, timeline data and log entries to the request
setResponse ( Response $response ) Set a custom response instance

보호된 메소드들

메소드 설명
getController ( ) Return a textual representation of current route's controller
getMethod ( )
getPathInfo ( )
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)

메소드 상세

__construct() 공개 메소드

Create a new data source, takes Laravel application instance as an argument
public __construct ( Application $app )
$app Laravel\Lumen\Application

getController() 보호된 메소드

Return a textual representation of current route's controller
protected getController ( )

getMethod() 보호된 메소드

protected getMethod ( )

getPathInfo() 보호된 메소드

protected getPathInfo ( )

getRequestHeaders() 보호된 메소드

Return request headers
protected getRequestHeaders ( )

getRequestMethod() 보호된 메소드

Return request method
protected getRequestMethod ( )

getRequestUri() 보호된 메소드

Return request URI
protected getRequestUri ( )

getResponseStatus() 보호된 메소드

Return response status code
protected getResponseStatus ( )

getRoutes() 보호된 메소드

Return array of application routes
protected getRoutes ( )

getSessionData() 보호된 메소드

Return session data (replace unserializable items, attempt to remove passwords)
protected getSessionData ( )

listenToEvents() 공개 메소드

Hook up callbacks for various Laravel events, providing information for timeline and log entries
public listenToEvents ( )

resolve() 공개 메소드

Adds request method, uri, controller, headers, response status, timeline data and log entries to the request
public resolve ( Request $request )
$request Clockwork\Request\Request

setResponse() 공개 메소드

Set a custom response instance
public setResponse ( Response $response )
$response Symfony\Component\HttpFoundation\Response

프로퍼티 상세

$app 보호되어 있는 프로퍼티

Laravel application from which the data is retrieved
protected $app

$log 보호되어 있는 프로퍼티

Log data structure
protected $log

$response 보호되어 있는 프로퍼티

Laravel response from which the data is retrieved
protected $response

$timeline 보호되어 있는 프로퍼티

Timeline data structure
protected $timeline

$views 보호되어 있는 프로퍼티

Timeline data structure for views data
protected $views