ChainedMonitor

Implements QueryMonitorInterface

Chained query monitor allowing multiple monitors to be executed.

since

2.0.0

package

Joomla Framework

Methods

addMonitor

Register a monitor to the chain.

addMonitor(\Joomla\Database\QueryMonitorInterface monitor) : 
since

2.0.0

Arguments

monitor

QueryMonitorInterfaceThe monitor to add.

Response

void

startQuery

Act on a query being started.

startQuery( sql, object[]|null boundParams = null) : 
since

2.0.0

Arguments

sql

stringThe SQL to be executed.

boundParams

array<string|int, object>|nullList of bound params, used with the query. Each item is an object that holds: value, dataType

Response

void

stopQuery

Act on a query being stopped.

stopQuery() : 
since

2.0.0

Response

void

Properties

monitors

The query monitors stored to this chain

since

2.0.0

Type(s)

array<string|int, QueryMonitorInterface>