We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getListenerTimes()
1 parent 6921398 commit 8bb2eb1Copy full SHA for 8bb2eb1
src/Files/File.php
@@ -209,6 +209,7 @@ class File
209
* An array of sniffs being processed and how long they took.
210
*
211
* @var array
212
+ * @see getListenerTimes()
213
*/
214
protected $listenerTimes = [];
215
@@ -1216,6 +1217,18 @@ public function getMetrics()
1216
1217
}//end getMetrics()
1218
1219
1220
+ /**
1221
+ * Returns the time taken processing this file for each invoked sniff.
1222
+ *
1223
+ * @return array
1224
+ */
1225
+ public function getListenerTimes()
1226
+ {
1227
+ return $this->listenerTimes;
1228
+
1229
+ }//end getListenerTimes()
1230
1231
1232
/**
1233
* Returns the absolute filename of this file.
1234
0 commit comments