PHP Class Clockwork\DataSource\PhpDataSource

Inheritance: extends DataSource
Show file Open project: itsgoingd/clockwork

Public Methods

Method Description
resolve ( Request $request ) Add request time, method, URI, headers, get and post data, session data, cookies, response status and time to the request

Protected Methods

Method Description
getCookies ( ) Return cookies (replace unserializable items, attempt to remove passwords)
getGetData ( ) Return GET data (replace unserializable items, attempt to remove passwords)
getPostData ( ) Return POST data (replace unserializable items, attempt to remove passwords)
getRequestHeaders ( ) Return headers
getRequestMethod ( ) Return request method
getRequestTime ( ) Return response time in most precise form
getRequestUri ( ) Return request URI
getResponseStatus ( ) Return response status code (if available)
getResponseTime ( ) Return response time (current time, assuming most application scripts have already run at this point)
getSessionData ( ) Return session data (replace unserializable items, attempt to remove passwords)

Method Details

getCookies() protected method

Return cookies (replace unserializable items, attempt to remove passwords)
protected getCookies ( )

getGetData() protected method

Return GET data (replace unserializable items, attempt to remove passwords)
protected getGetData ( )

getPostData() protected method

Return POST data (replace unserializable items, attempt to remove passwords)
protected getPostData ( )

getRequestHeaders() protected method

Return headers
protected getRequestHeaders ( )

getRequestMethod() protected method

Return request method
protected getRequestMethod ( )

getRequestTime() protected method

Return response time in most precise form
protected getRequestTime ( )

getRequestUri() protected method

Return request URI
protected getRequestUri ( )

getResponseStatus() protected method

Return response status code (if available)
protected getResponseStatus ( )

getResponseTime() protected method

Return response time (current time, assuming most application scripts have already run at this point)
protected getResponseTime ( )

getSessionData() protected method

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

resolve() public method

Add request time, method, URI, headers, get and post data, session data, cookies, response status and time to the request
public resolve ( Request $request )
$request Clockwork\Request\Request