You are here

public function Profiler::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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;
}