Page MenuHomeWickedGov Phorge

ProfilerStub.php
No OneTemporary

Size
534 B
Referenced Files
None
Subscribers
None

ProfilerStub.php

<?php
/**
* @license GPL-2.0-or-later
* @file
*/
/**
* Stub profiler that does nothing.
*
* @ingroup Profiler
*/
class ProfilerStub extends Profiler {
/** @inheritDoc */
public function scopedProfileIn( $section ): ?SectionProfileCallback {
return null; // no-op
}
/** @inheritDoc */
public function getFunctionStats() {
return [];
}
/** @inheritDoc */
public function getOutput() {
return '';
}
public function close() {
}
public function logData() {
}
public function logDataPageOutputOnly() {
}
}

File Metadata

Mime Type
text/x-php
Expires
Aug 14 2026, 02:54 (16 w, 57 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
87/0c/0c0d69fc59a101cbba691312d3d9
Default Alt Text
ProfilerStub.php (534 B)

Event Timeline