‪TYPO3CMS  10.4
TYPO3\CMS\Adminpanel\Middleware\SqlLogging Class Reference
Inheritance diagram for TYPO3\CMS\Adminpanel\Middleware\SqlLogging:

Public Member Functions

 __construct (ConnectionPool $connectionPool)
 
ResponseInterface process (ServerRequestInterface $request, RequestHandlerInterface $handler)
 

Protected Attributes

ConnectionPool $connectionPool
 

Detailed Description

Enable sql logging for the admin panel

Definition at line 34 of file SqlLogging.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Adminpanel\Middleware\SqlLogging::__construct ( ConnectionPool  $connectionPool)

Member Function Documentation

◆ process()

ResponseInterface TYPO3\CMS\Adminpanel\Middleware\SqlLogging::process ( ServerRequestInterface  $request,
RequestHandlerInterface  $handler 
)

Enable SQL Logging as early as possible to catch all queries if the admin panel is active

Parameters
ServerRequestInterface$request
RequestHandlerInterface$handler
Returns
‪ResponseInterface

Definition at line 51 of file SqlLogging.php.

References TYPO3\CMS\Core\Database\ConnectionPool\DEFAULT_CONNECTION_NAME, TYPO3\CMS\Adminpanel\Utility\StateUtility\isActivatedForUser(), and TYPO3\CMS\Adminpanel\Utility\StateUtility\isOpen().

Member Data Documentation

◆ $connectionPool

ConnectionPool TYPO3\CMS\Adminpanel\Middleware\SqlLogging::$connectionPool
protected