ChainedMonitor
Implements QueryMonitorInterfaceChained 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) : void
since |
2.0.0 |
---|
Arguments
- monitor
\Joomla\Database\QueryMonitorInterface
The monitor to add.
startQuery
Act on a query being started.
startQuery(string sql, object[]|null boundParams = null) : void
since |
2.0.0 |
---|
Arguments
- sql
string
The SQL to be executed.- boundParams
object[]|null
List of bound params, used with the query. Each item is an object that holds: value, dataType
stopQuery
Act on a query being stopped.
stopQuery() : void
since |
2.0.0 |
---|
Properties
monitors
The query monitors stored to this chain
since |
2.0.0 |
---|
Type(s)
\Joomla\Database\QueryMonitorInterface[]