CrashDump
in package
Table of Contents
- PLUGIN_INVOLVEMENT_DIRECT = "direct"
- PLUGIN_INVOLVEMENT_INDIRECT = "indirect"
- PLUGIN_INVOLVEMENT_NONE = "none"
- FORMAT_VERSION = 4
- Crashdump data format version, used by the crash archive to decide how to decode the crashdump This should be incremented when backwards incompatible changes are introduced, such as fields being removed or having their content changed, version format changing, etc.
- $data : CrashDumpData
- $encodedData : string
- $pluginManager : PluginManager|null
- $server : Server
- __construct() : mixed
- encodeData() : void
- getData() : CrashDumpData
- getEncodedData() : string
- baseCrash() : void
- determinePluginFromFile() : bool
- extraData() : void
- generalData() : void
- pluginsData() : void
Constants
PLUGIN_INVOLVEMENT_DIRECT
public
mixed
PLUGIN_INVOLVEMENT_DIRECT
= "direct"
PLUGIN_INVOLVEMENT_INDIRECT
public
mixed
PLUGIN_INVOLVEMENT_INDIRECT
= "indirect"
PLUGIN_INVOLVEMENT_NONE
public
mixed
PLUGIN_INVOLVEMENT_NONE
= "none"
FORMAT_VERSION
Crashdump data format version, used by the crash archive to decide how to decode the crashdump This should be incremented when backwards incompatible changes are introduced, such as fields being removed or having their content changed, version format changing, etc.
private
mixed
FORMAT_VERSION
= 4
It is not necessary to increase this when adding new fields.
Properties
$data
private
CrashDumpData
$data
$encodedData
private
string
$encodedData
$pluginManager
private
PluginManager|null
$pluginManager
$server
private
Server
$server
Methods
__construct()
public
__construct(Server $server, PluginManager|null $pluginManager) : mixed
Parameters
- $server : Server
- $pluginManager : PluginManager|null
Return values
mixed —encodeData()
public
encodeData(CrashDumpRenderer $renderer) : void
Parameters
- $renderer : CrashDumpRenderer
Return values
void —getData()
public
getData() : CrashDumpData
Return values
CrashDumpData —getEncodedData()
public
getEncodedData() : string
Return values
string —baseCrash()
private
baseCrash() : void
Return values
void —determinePluginFromFile()
private
determinePluginFromFile(string $filePath, bool $crashFrame) : bool
Parameters
- $filePath : string
- $crashFrame : bool
Return values
bool —extraData()
private
extraData() : void
Return values
void —generalData()
private
generalData() : void
Return values
void —pluginsData()
private
pluginsData() : void