[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 268 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Profiler:: (16 methods):
__construct()
disable()
enable()
loadProfileFromResponse()
loadProfile()
saveProfile()
purge()
find()
collect()
reset()
all()
set()
add()
has()
get()
getTimestamp()
__construct(ProfilerStorageInterface $storage, LoggerInterface $logger = null, $enable = true) X-Ref |
param: bool $enable The initial enabled state |
disable() X-Ref |
Disables the profiler. |
enable() X-Ref |
Enables the profiler. |
loadProfileFromResponse(Response $response) X-Ref |
Loads the Profile for the given Response. return: Profile|null A Profile instance |
loadProfile($token) X-Ref |
Loads the Profile for the given token. param: string $token A token return: Profile|null A Profile instance |
saveProfile(Profile $profile) X-Ref |
Saves a Profile. return: bool |
purge() X-Ref |
Purges all data from the storage. |
find($ip, $url, $limit, $method, $start, $end, $statusCode = null) X-Ref |
Finds profiler tokens for the given criteria. param: string $ip The IP param: string $url The URL param: string $limit The maximum number of tokens to return param: string $method The request method param: string $start The start date to search from param: string $end The end date to search to param: string $statusCode The request status code return: array An array of tokens |
collect(Request $request, Response $response, \Exception $exception = null) X-Ref |
Collects data for the given Response. return: Profile|null A Profile instance or null if the profiler is disabled |
reset() X-Ref |
No description |
all() X-Ref |
Gets the Collectors associated with this profiler. return: array An array of collectors |
set(array $collectors = []) X-Ref |
Sets the Collectors associated with this profiler. param: DataCollectorInterface[] $collectors An array of collectors |
add(DataCollectorInterface $collector) X-Ref |
Adds a Collector. |
has($name) X-Ref |
Returns true if a Collector for the given name exists. param: string $name A collector name return: bool |
get($name) X-Ref |
Gets a Collector by name. param: string $name A collector name return: DataCollectorInterface A DataCollectorInterface instance |
getTimestamp($value) X-Ref |
return: int|null |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |