1 | <?php |
||
14 | class QueryEvent extends GenericEvent |
||
15 | { |
||
16 | const QUERY_PREPARED = 'facile_mongo_db.event.query_prepared'; |
||
17 | const QUERY_EXECUTED = 'facile_mongo_db.event.query_executed'; |
||
18 | |||
19 | /** |
||
20 | * QueryEvent constructor. |
||
21 | * |
||
22 | * @param QueryLog $queryLog |
||
23 | * @param array $arguments |
||
24 | */ |
||
25 | 12 | public function __construct(QueryLog $queryLog, array $arguments = []) |
|
29 | |||
30 | /** |
||
31 | * @return QueryLog |
||
32 | */ |
||
33 | 1 | public function getQueryLog(): QueryLog |
|
37 | } |
||
38 |