MysqlProfilerStorage deprecated
class MysqlProfilerStorage extends PdoProfilerStorage
deprecated
A ProfilerStorage for Mysql.
Methods
__construct(string $dsn, string $username = '', string $password = '', int $lifetime = 86400)
Constructor.
from PdoProfilerStorage
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.
from PdoProfilerStorage
Details
in PdoProfilerStorage at line line 41
__construct(string $dsn, string $username = '', string $password = '', int $lifetime = 86400)
Constructor.
in PdoProfilerStorage at line line 52
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.
in PdoProfilerStorage at line line 76
Profile
read(string $token)
Reads data associated with the given token.
The method returns false if the token does not exist in the storage.
in PdoProfilerStorage at line line 90
bool
write(Profile $profile)
Saves a Profile.
in PdoProfilerStorage at line line 125
purge()
Purges all data from the database.