Symfony\Component\HttpKernel\Profiler\MysqlProfilerStorage
A ProfilerStorage for Mysql
- Author: Jan Schumann <js@schumann-it.com>
Synopsis
class MysqlProfilerStorage
extends PdoProfilerStorage
{
- // Inherited members from PdoProfilerStorage
- protected $dsn;
- protected $username;
- protected $password;
- protected $lifetime;
- protected $db;
- // methods
- protected void initDb()
- protected void buildCriteria()
- // Inherited methods from PdoProfilerStorage
- public void __construct()
- public void find()
- public void read()
- public void write()
- public void purge()
- protected abstract array buildCriteria()
- protected abstract void initDb()
- protected void cleanup()
- protected void exec()
- protected void prepareStatement()
- protected void fetch()
- protected void close()
- protected void createProfileFromData()
- protected array readChildren()
- protected string has()
Hierarchy
Members
protected
- $db
- $dsn
- $lifetime
- $password
- $username
Methods
protected
- buildCriteria() — {@inheritdoc}
- initDb() — {@inheritdoc}
Inherited from Symfony\Component\HttpKernel\Profiler\PdoProfilerStorage
protected
- buildCriteria() — Build SQL criteria to fetch records by ip and url
- cleanup()
- close()
- createProfileFromData()
- exec()
- fetch()
- has() — Returns whether data for the given token already exists in storage.
- initDb() — Initializes the database
- prepareStatement()
- readChildren() — Reads the child profiles for the given token.