29 $context ??= RequestContext::getMain();
36 throw new LogicException(
37 'The backwards-compat MediaWiki class does not implement the execute() method'
49 parent::restInPeace();
58 parent::doPostOutputShutdown();
74 $entryPoint =
new static( $context );
75 $entryPoint->prepareForOutput();
Group all the pieces relevant to the context of a request into one instance.
Utility class wrapping PHP runtime state.
Base class for entry point handlers.
EntryPointEnvironment $environment
Interface for objects which can provide a MediaWiki context on request.