|
MediaWiki master
|
Class for tracking request-level classification information for profiling/stats/logging. More...
Public Member Functions | |
| getEntryPoint () | |
| getHandler () | |
| getHandlerMetricPrefix () | |
| init (string $entryPoint, string $handler) | |
| Set entry point name and principle handler name for this request. | |
| isInitialized () | |
Static Public Member Functions | |
| static | destroySingleton () |
| static | singleton () |
Class for tracking request-level classification information for profiling/stats/logging.
Definition at line 12 of file ProfilingContext.php.
|
static |
Definition at line 76 of file ProfilingContext.php.
| MediaWiki\Profiler\ProfilingContext::getEntryPoint | ( | ) |
Definition at line 51 of file ProfilingContext.php.
| MediaWiki\Profiler\ProfilingContext::getHandler | ( | ) |
Definition at line 58 of file ProfilingContext.php.
| MediaWiki\Profiler\ProfilingContext::getHandlerMetricPrefix | ( | ) |
Definition at line 65 of file ProfilingContext.php.
| MediaWiki\Profiler\ProfilingContext::init | ( | string | $entryPoint, |
| string | $handler ) |
Set entry point name and principle handler name for this request.
| string | $entryPoint | Entry point script name (alphanumeric characters) |
| string | $handler | Handler name (printable ASCII characters) |
Definition at line 32 of file ProfilingContext.php.
| MediaWiki\Profiler\ProfilingContext::isInitialized | ( | ) |
Definition at line 44 of file ProfilingContext.php.
|
static |
Definition at line 20 of file ProfilingContext.php.
Referenced by MediaWiki\FileRepo\ThumbnailEntryPoint\execute(), and MediaWiki\Api\ApiMain\executeAction().