You are here

public function Profiler::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Profiler/Profiler.php \Symfony\Component\HttpKernel\Profiler\Profiler::__construct()

Constructor.

Parameters

ProfilerStorageInterface $storage A ProfilerStorageInterface instance:

LoggerInterface $logger A LoggerInterface instance:

File

vendor/symfony/http-kernel/Profiler/Profiler.php, line 53

Class

Profiler
Profiler.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

public function __construct(ProfilerStorageInterface $storage, LoggerInterface $logger = null) {
  $this->storage = $storage;
  $this->logger = $logger;
}