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