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 e3dbe0a commit 0506681Copy full SHA for 0506681
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
@@ -1210,6 +1211,18 @@ public function getMetrics()
1210
1211
}//end getMetrics()
1212
1213
1214
+ /**
1215
+ * Returns the time taken processing this file for each invoked sniff.
1216
+ *
1217
+ * @return array
1218
+ */
1219
+ public function getListenerTimes()
1220
+ {
1221
+ return $this->listenerTimes;
1222
+
1223
+ }//end getListenerTimes()
1224
1225
1226
/**
1227
* Returns the absolute filename of this file.
1228
0 commit comments