ProfilerStorageInterface
interface ProfilerStorageInterface
ProfilerStorageInterface.
This interface exists for historical reasons. The only supported implementation is FileProfilerStorage.
As the profiler must only be used on non-production servers, the file storage is more than enough and no other implementations will ever be supported.
Methods
array
find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end = null)
Finds profiler tokens for the given criteria.
purge()
Purges all data from the database.
Details
array
find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end = null)
Finds profiler tokens for the given criteria.
Profile
read(string $token)
Reads data associated with the given token.
The method returns false if the token does not exist in the storage.