[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

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

(no description)

File Size: 280 lines (8 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)   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.

param: string $token
return: string The profile filename

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.

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

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



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1