public function BaseMemcacheProfilerStorage::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Profiler/BaseMemcacheProfilerStorage.php \Symfony\Component\HttpKernel\Profiler\BaseMemcacheProfilerStorage::__construct()
Constructor.
Parameters
string $dsn A data source name:
string $username:
string $password:
int $lifetime The lifetime to use for the purge:
File
- vendor/
symfony/ http-kernel/ Profiler/ BaseMemcacheProfilerStorage.php, line 34
Class
- BaseMemcacheProfilerStorage
- Base Memcache storage for profiling information in a Memcache.
Namespace
Symfony\Component\HttpKernel\ProfilerCode
public function __construct($dsn, $username = '', $password = '', $lifetime = 86400) {
$this->dsn = $dsn;
$this->lifetime = (int) $lifetime;
}