Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5992723
LoggerChain.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
984 B
Referenced Files
None
Subscribers
None
LoggerChain.php
View Options
<?php
namespace
Doctrine\DBAL\Logging
;
use
Doctrine\Deprecations\Deprecation
;
/**
* Chains multiple SQLLogger.
*
* @deprecated
*/
class
LoggerChain
implements
SQLLogger
{
/** @var iterable<SQLLogger> */
private
iterable
$loggers
;
/** @param iterable<SQLLogger> $loggers */
public
function
__construct
(
iterable
$loggers
=
[])
{
Deprecation
::
trigger
(
'doctrine/dbal'
,
'https://github.com/doctrine/dbal/pull/4967'
,
'LoggerChain is deprecated'
,
);
$this
->
loggers
=
$loggers
;
}
/**
* {@inheritDoc}
*/
public
function
startQuery
(
$sql
,
?
array
$params
=
null
,
?
array
$types
=
null
)
{
foreach
(
$this
->
loggers
as
$logger
)
{
$logger
->
startQuery
(
$sql
,
$params
,
$types
);
}
}
/**
* {@inheritDoc}
*/
public
function
stopQuery
()
{
foreach
(
$this
->
loggers
as
$logger
)
{
$logger
->
stopQuery
();
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 4 2026, 02:25 (4 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ec/31/338755ad34f46aa7b019b09d3948
Default Alt Text
LoggerChain.php (984 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment