| [ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 285 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Profiler:: (17 methods):
__construct()
disable()
enable()
loadProfileFromResponse()
loadProfile()
saveProfile()
purge()
export()
import()
find()
collect()
all()
set()
add()
has()
get()
getTimestamp()
| __construct(ProfilerStorageInterface $storage, LoggerInterface $logger = null) X-Ref |
| 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|false A Profile instance |
| loadProfile($token) X-Ref |
| Loads the Profile for the given token. param: string $token A token return: Profile A Profile instance |
| saveProfile(Profile $profile) X-Ref |
| Saves a Profile. return: bool |
| purge() X-Ref |
| Purges all data from the storage. |
| export(Profile $profile) X-Ref |
| Exports the current profiler data. return: string The exported data |
| import($data) X-Ref |
| Imports data into the profiler storage. param: string $data A data string as exported by the export() method return: Profile|false A Profile instance |
| find($ip, $url, $limit, $method, $start, $end) 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 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 |
| all() X-Ref |
| Gets the Collectors associated with this profiler. return: array An array of collectors |
| set(array $collectors = array() 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 |
| No description |
| Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |