Symfony\Component\HttpKernel\Profiler\FileProfilerStorage
Storage for profiler using files.
- Author: Alexandre Salomé <alexandre.salome@gmail.com>
Synopsis
class FileProfilerStorage
implements
ProfilerStorageInterface
{
- // members
- private string $folder;
- // methods
- public void __construct()
- public void find()
- public void purge()
- public void read()
- public void write()
- protected string getFilename()
- protected string getIndexFilename()
- protected mixed readLineFromFile()
- protected void createProfileFromData()
Hierarchy
Members
private
- $folder
—
string
Folder where profiler data are stored.
Methods
protected
- createProfileFromData()
- getFilename() — Gets filename to store data, associated to the token.
- getIndexFilename() — Gets the index filename.
- readLineFromFile() — Reads a line in the file, backward.
public
- __construct() — Constructs the file storage using a "dsn-like" path.
- find() — {@inheritdoc}
- purge() — {@inheritdoc}
- read() — {@inheritdoc}
- write() — {@inheritdoc}