Documentation

Restorer
in package

Restorer of snapshots of global state.

Table of Contents

restoreFunctions()  : mixed
Deletes function definitions that are not defined in a snapshot.
restoreGlobalVariables()  : mixed
Restores all global and super-global variables from a snapshot.
restoreStaticAttributes()  : mixed
Restores all static attributes in user-defined classes from this snapshot.
restoreSuperGlobalArray()  : mixed
Restores a super-global variable array from this snapshot.

Methods

restoreGlobalVariables()

Restores all global and super-global variables from a snapshot.

public restoreGlobalVariables(Snapshot $snapshot) : mixed
Parameters
$snapshot : Snapshot
Return values
mixed

restoreStaticAttributes()

Restores all static attributes in user-defined classes from this snapshot.

public restoreStaticAttributes(Snapshot $snapshot) : mixed
Parameters
$snapshot : Snapshot
Return values
mixed

restoreSuperGlobalArray()

Restores a super-global variable array from this snapshot.

private restoreSuperGlobalArray(Snapshot $snapshot,  $superGlobalArray) : mixed
Parameters
$snapshot : Snapshot
$superGlobalArray :
Return values
mixed

Search results