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
Profile|null
read(string$token)
Reads data associated with the given token.
bool
write(Profile$profile)
Saves a Profile.
void
purge()
Purges all data from the database.
Details
array
find(string|null$ip,string|null$url,int|null$limit,string|null$method,int$start =null,int$end =null,string$statusCode =null,Closure$filter =null)
Finds profiler tokens for the given criteria.