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 b5b07c6 commit 02338c2Copy full SHA for 02338c2
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
@@ -1232,6 +1233,18 @@ public function getMetrics()
1232
1233
}//end getMetrics()
1234
1235
1236
+ /**
1237
+ * Returns the time taken processing this file for each invoked sniff.
1238
+ *
1239
+ * @return array
1240
+ */
1241
+ public function getListenerTimes()
1242
+ {
1243
+ return $this->listenerTimes;
1244
+
1245
+ }//end getListenerTimes()
1246
1247
1248
/**
1249
* Returns the absolute filename of this file.
1250
0 commit comments