platform/api/symfony/Component/HttpKernel/Profiler/FileProfilerStorage.yaml
2024-09-02 10:44:11 -07:00

91 lines
2.2 KiB
YAML

name: FileProfilerStorage
class_comment: "# * Storage for profiler using files.\n# *\n# * @author Alexandre\
\ Salom\xE9 <alexandre.salome@gmail.com>"
dependencies: []
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: dsn
comment: "# * Storage for profiler using files.\n# *\n# * @author Alexandre Salom\xE9\
\ <alexandre.salome@gmail.com>\n# */\n# class FileProfilerStorage implements ProfilerStorageInterface\n\
# {\n# /**\n# * Folder where profiler data are stored.\n# */\n# private string\
\ $folder;\n# \n# /**\n# * Constructs the file storage using a \"dsn-like\" path.\n\
# *\n# * Example : \"file:/path/to/the/storage/folder\"\n# *\n# * @throws \\RuntimeException"
- name: find
visibility: public
parameters:
- name: ip
- name: url
- name: limit
- name: method
- name: start
default: 'null'
- name: end
default: 'null'
- name: statusCode
default: 'null'
- name: filter
default: 'null'
comment: null
- name: purge
visibility: public
parameters: []
comment: null
- name: read
visibility: public
parameters:
- name: token
comment: null
- name: write
visibility: public
parameters:
- name: profile
comment: '# * @throws \RuntimeException'
- name: getFilename
visibility: protected
parameters:
- name: token
comment: '# * Gets filename to store data, associated to the token.'
- name: getIndexFilename
visibility: protected
parameters: []
comment: '# * Gets the index filename.'
- name: readLineFromFile
visibility: protected
parameters:
- name: file
comment: '# * Reads a line in the file, backward.
# *
# * This function automatically skips the empty lines and do not include the line
return in result value.
# *
# * @param resource $file The file resource, with the pointer placed at the end
of the line to read'
- name: createProfileFromData
visibility: protected
parameters:
- name: token
- name: data
- name: parent
default: 'null'
comment: null
- name: doRead
visibility: private
parameters:
- name: token
- name: profile
default: 'null'
comment: null
- name: removeExpiredProfiles
visibility: private
parameters: []
comment: null
traits: []
interfaces:
- ProfilerStorageInterface