[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

MongoDbProfilerStorage:: (13 methods):
  __construct()
  find()
  purge()
  read()
  write()
  getMongo()
  createProfileFromData()
  readChildren()
  cleanup()
  buildQuery()
  getData()
  getProfile()
  parseDsn()


Class: MongoDbProfilerStorage  - X-Ref

__construct($dsn, $username = '', $password = '', $lifetime = 86400)   X-Ref
Constructor.

param: string $dsn      A data source name
param: string $username Not used
param: string $password Not used
param: int    $lifetime The lifetime to use for the purge

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}


getMongo()   X-Ref
Internal convenience method that returns the instance of the MongoDB Collection.

return: \MongoCollection

createProfileFromData(array $data)   X-Ref

param: array $data
return: Profile

readChildren($token)   X-Ref

param: string $token
return: Profile[] An array of Profile instances

cleanup()   X-Ref
No description

buildQuery($ip, $url, $method, $start, $end)   X-Ref

param: string $ip
param: string $url
param: string $method
param: int    $start
param: int    $end
return: array

getData(array $data)   X-Ref

param: array $data
return: array

getProfile(array $data)   X-Ref

param: array $data
return: Profile

parseDsn($dsn)   X-Ref

param: string $dsn
return: null|array Array($server, $database, $collection)



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