Added generic stopwatch collector and tests.

This commit is contained in:
Andrey Savchenko committed 2018-02-20 18:09:44 +02:00
1 parent 7020e84b2d
commit 420305143b
7 files changed
+215 -71

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ class Record_Provider implements ServiceProviderInterface, Bootable_Provider_Int
$pimple['collectors'] = function ( Plugin $laps ) {
return [
'hook' => new Hook_Record_Collector( $laps['hook.events'], $laps['stopwatch'] ),
'hook' => new Hook_Record_Collector( $laps['stopwatch'], $laps['hook.events'] ),
'http' => new Http_Record_Collector( $laps['stopwatch'] ),
'sql' => new Sql_Record_Collector(),
];