Метод | Описание | |
---|---|---|
calculateTimings ( ) : array | Calculates given request profile timings. | |
getDetail ( ) | ||
getHttpClient ( ) : |
||
getMethods ( ) : array | Returns array request methods | |
getName ( ) | ||
getSummary ( ) | ||
getTypes ( ) : array | Returns array request types | |
init ( ) | ||
save ( ) | ||
setHttpClient ( array $httpClient ) |
Метод | Описание | |
---|---|---|
getModels ( ) : array | Returns an array of models that represents logs of the current request. | |
getRequestMethod ( string $timing ) : string | Returns HTTP request method. | |
getRequestType ( string $category ) : string | Returns request type. | |
getTotalRequestTime ( array $timings ) : integer | Returns total request time. |
public calculateTimings ( ) : array | ||
Результат | array | timings [token, category, timestamp, traces, nesting level, elapsed time] |
public getMethods ( ) : array | ||
Результат | array |
protected getRequestMethod ( string $timing ) : string | ||
$timing | string | timing procedure string |
Результат | string | request method such as GET, POST, PUT, etc. |
protected getRequestType ( string $category ) : string | ||
$category | string | |
Результат | string | request type such as 'normal', 'batch' |
protected getTotalRequestTime ( array $timings ) : integer | ||
$timings | array | |
Результат | integer | total time |