[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/http-kernel/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

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

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

return: array

getProfile(array $data)   X-Ref

return: Profile

parseDsn($dsn)   X-Ref

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



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1