| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class QueryEvent extends GenericEvent |
||
| 16 | { |
||
| 17 | const QUERY_PREPARED = 'facile_mongo_db.event.query_prepared'; |
||
| 18 | |||
| 19 | const QUERY_EXECUTED = 'facile_mongo_db.event.query_executed'; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * QueryEvent constructor. |
||
| 23 | 13 | * |
|
| 24 | * @param Query $queryLog |
||
| 25 | 13 | * @param array $arguments |
|
| 26 | 13 | */ |
|
| 27 | public function __construct(Query $queryLog, array $arguments = []) |
||
| 30 | } |
||
| 31 | 1 | ||
| 32 | /** |
||
| 33 | 1 | * @return Query |
|
| 34 | */ |
||
| 35 | public function getQueryLog(): Query |
||
| 40 |