[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

RedisProfilerStorage:: (15 methods):
  __construct()
  find()
  purge()
  read()
  write()
  getRedis()
  setRedis()
  createProfileFromData()
  getItemName()
  getIndexName()
  isItemNameValid()
  getValue()
  setValue()
  appendValue()
  delete()


Class: RedisProfilerStorage  - X-Ref

RedisProfilerStorage stores profiling information in Redis.

__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}


getRedis()   X-Ref
Internal convenience method that returns the instance of Redis.

return: \Redis

setRedis($redis)   X-Ref
Set instance of the Redis.

param: \Redis $redis

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

getItemName($token)   X-Ref
Gets the item name.

param: string $token
return: string

getIndexName()   X-Ref
Gets the name of the index.

return: string

isItemNameValid($name)   X-Ref
No description

getValue($key, $serializer = self::REDIS_SERIALIZER_NONE)   X-Ref
Retrieves an item from the Redis server.

param: string $key
param: int    $serializer
return: mixed

setValue($key, $value, $expiration = 0, $serializer = self::REDIS_SERIALIZER_NONE)   X-Ref
Stores an item on the Redis server under the specified key.

param: string $key
param: mixed  $value
param: int    $expiration
param: int    $serializer
return: bool

appendValue($key, $value, $expiration = 0)   X-Ref
Appends data to an existing item on the Redis server.

param: string $key
param: string $value
param: int    $expiration
return: bool

delete(array $keys)   X-Ref
Removes the specified keys.

return: bool



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