summaryrefslogtreecommitdiff
path: root/includes/profiler/ProfilerStub.php
blob: 1a0933c40a09edeb9e99a63f84ff7f08bd4c69eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/**
 * Stub profiling functions
 * @file
 * @ingroup Profiler
 */
class ProfilerStub extends Profiler {
	public function isStub() {
		return true;
	}
	public function profileIn( $fn ) {}
	public function profileOut( $fn ) {}
	public function getOutput() {}
	public function close() {}
	public function logData() {}
	public function getCurrentSection() { return ''; }
}