1
0
mirror of https://github.com/OpenXE-org/OpenXE.git synced 2025-03-05 22:49:48 +01:00
2021-05-21 08:49:41 +02:00

240 B

Profiler

<?php

/** @var \Xentral\Components\Database\Profiler\Profiler $profiler */
$profiler = $container->get('DatabaseProfiler');
$profiler->setActive(true);

$database->fetchAll($sql);

var_dump($profiler->getContexts());