[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch

title

Body

[close]

/vendor/symfony/http-kernel/Profiler/ -> FileProfilerStorage.php (summary)

(no description)

File Size: 292 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FileProfilerStorage:: (9 methods):
  __construct()
  find()
  purge()
  read()
  write()
  getFilename()
  getIndexFilename()
  readLineFromFile()
  createProfileFromData()


Class: FileProfilerStorage  - X-Ref

Storage for profiler using files.

__construct($dsn)   X-Ref
Constructs the file storage using a "dsn-like" path.

Example : "file:/path/to/the/storage/folder"

param: string $dsn The DSN

find($ip, $url, $limit, $method, $start = null, $end = null, $statusCode = null)   X-Ref
{@inheritdoc}


purge()   X-Ref
{@inheritdoc}


read($token)   X-Ref
{@inheritdoc}


write(Profile $profile)   X-Ref
{@inheritdoc}


getFilename($token)   X-Ref
Gets filename to store data, associated to the token.

return: string The profile filename
param: string $token

getIndexFilename()   X-Ref
Gets the index filename.

return: string The index filename

readLineFromFile($file)   X-Ref
Reads a line in the file, backward.

This function automatically skips the empty lines and do not include the line return in result value.

return: mixed A string representing the line or null if beginning of file is reached
param: resource $file The file resource, with the pointer placed at the end of the line to read

createProfileFromData($token, $data, $parent = null)   X-Ref
No description



Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1