Listener
class Listener
Constants
| protected QUERIES_CONTEXT_KEY |
The Context key for storing executed queries. |
| protected MAX_QUERIES |
The maximum number of queries to store. |
Methods
void
registerListeners(Dispatcher $events)
Register the appropriate listeners on the given event dispatcher.
array
queries()
Return the queries that have been executed.
void
Details
at line 26
void
registerListeners(Dispatcher $events)
Register the appropriate listeners on the given event dispatcher.
at line 36
array
queries()
Return the queries that have been executed.
at line 44
void
onQueryExecuted(QueryExecuted $event)
Listen for the query executed event.