MediaWiki  master
ProfilerStub.php
Go to the documentation of this file.
1 <?php
29 class ProfilerStub extends Profiler {
30  public function scopedProfileIn( $section ) {
31  return null; // no-op
32  }
33 
34  public function getFunctionStats() {
35  return [];
36  }
37 
38  public function getOutput() {
39  return '';
40  }
41 
42  public function close() {
43  }
44 
45  public function logData() {
46  }
47 
48  public function logDataPageOutputOnly() {
49  }
50 }
Stub profiler that does nothing.
scopedProfileIn( $section)