Documentation

Snapshot
in package

A snapshot of global state.

Table of Contents

$blacklist  : Blacklist
$classes  : array<string|int, mixed>
$constants  : array<string|int, mixed>
$functions  : array<string|int, mixed>
$globalVariables  : array<string|int, mixed>
$includedFiles  : array<string|int, mixed>
$iniSettings  : array<string|int, mixed>
$interfaces  : array<string|int, mixed>
$staticAttributes  : array<string|int, mixed>
$superGlobalArrays  : array<string|int, mixed>
$superGlobalVariables  : array<string|int, mixed>
$traits  : array<string|int, mixed>
__construct()  : mixed
Creates a snapshot of the current global state.
blacklist()  : Blacklist
classes()  : array<string|int, mixed>
constants()  : array<string|int, mixed>
functions()  : array<string|int, mixed>
globalVariables()  : array<string|int, mixed>
includedFiles()  : array<string|int, mixed>
iniSettings()  : array<string|int, mixed>
interfaces()  : array<string|int, mixed>
staticAttributes()  : array<string|int, mixed>
superGlobalArrays()  : array<string|int, mixed>
Returns a list of all super-global variable arrays.
superGlobalVariables()  : array<string|int, mixed>
traits()  : array<string|int, mixed>
canBeSerialized()  : bool
setupSuperGlobalArrays()  : array<string|int, mixed>
Returns a list of all super-global variable arrays.
snapshotClasses()  : mixed
Creates a snapshot user-defined classes.
snapshotConstants()  : mixed
Creates a snapshot user-defined constants.
snapshotFunctions()  : mixed
Creates a snapshot user-defined functions.
snapshotGlobals()  : mixed
Creates a snapshot of all global and super-global variables.
snapshotInterfaces()  : mixed
Creates a snapshot user-defined interfaces.
snapshotStaticAttributes()  : mixed
Creates a snapshot of all static attributes in user-defined classes.
snapshotSuperGlobalArray()  : mixed
Creates a snapshot a super-global variable array.

Properties

$classes

private array<string|int, mixed> $classes = array()

$constants

private array<string|int, mixed> $constants = array()

$functions

private array<string|int, mixed> $functions = array()

$globalVariables

private array<string|int, mixed> $globalVariables = array()

$includedFiles

private array<string|int, mixed> $includedFiles = array()

$iniSettings

private array<string|int, mixed> $iniSettings = array()

$interfaces

private array<string|int, mixed> $interfaces = array()

$staticAttributes

private array<string|int, mixed> $staticAttributes = array()

$superGlobalArrays

private array<string|int, mixed> $superGlobalArrays = array()

$superGlobalVariables

private array<string|int, mixed> $superGlobalVariables = array()

$traits

private array<string|int, mixed> $traits = array()

Methods

__construct()

Creates a snapshot of the current global state.

public __construct([Blacklist $blacklist = null ][, bool $includeGlobalVariables = true ][, bool $includeStaticAttributes = true ][, bool $includeConstants = true ][, bool $includeFunctions = true ][, bool $includeClasses = true ][, bool $includeInterfaces = true ][, bool $includeTraits = true ][, bool $includeIniSettings = true ][, bool $includeIncludedFiles = true ]) : mixed
Parameters
$blacklist : Blacklist = null
$includeGlobalVariables : bool = true
$includeStaticAttributes : bool = true
$includeConstants : bool = true
$includeFunctions : bool = true
$includeClasses : bool = true
$includeInterfaces : bool = true
$includeTraits : bool = true
$includeIniSettings : bool = true
$includeIncludedFiles : bool = true
Return values
mixed

classes()

public classes() : array<string|int, mixed>
Return values
array<string|int, mixed>

constants()

public constants() : array<string|int, mixed>
Return values
array<string|int, mixed>

functions()

public functions() : array<string|int, mixed>
Return values
array<string|int, mixed>

globalVariables()

public globalVariables() : array<string|int, mixed>
Return values
array<string|int, mixed>

includedFiles()

public includedFiles() : array<string|int, mixed>
Return values
array<string|int, mixed>

iniSettings()

public iniSettings() : array<string|int, mixed>
Return values
array<string|int, mixed>

interfaces()

public interfaces() : array<string|int, mixed>
Return values
array<string|int, mixed>

staticAttributes()

public staticAttributes() : array<string|int, mixed>
Return values
array<string|int, mixed>

superGlobalArrays()

Returns a list of all super-global variable arrays.

public superGlobalArrays() : array<string|int, mixed>
Return values
array<string|int, mixed>

superGlobalVariables()

public superGlobalVariables() : array<string|int, mixed>
Return values
array<string|int, mixed>

traits()

public traits() : array<string|int, mixed>
Return values
array<string|int, mixed>

canBeSerialized()

private canBeSerialized(mixed $variable) : bool
Parameters
$variable : mixed
Tags
todo

Implement this properly

Return values
bool

setupSuperGlobalArrays()

Returns a list of all super-global variable arrays.

private setupSuperGlobalArrays() : array<string|int, mixed>
Return values
array<string|int, mixed>

snapshotClasses()

Creates a snapshot user-defined classes.

private snapshotClasses() : mixed
Return values
mixed

snapshotConstants()

Creates a snapshot user-defined constants.

private snapshotConstants() : mixed
Return values
mixed

snapshotFunctions()

Creates a snapshot user-defined functions.

private snapshotFunctions() : mixed
Return values
mixed

snapshotGlobals()

Creates a snapshot of all global and super-global variables.

private snapshotGlobals() : mixed
Return values
mixed

snapshotInterfaces()

Creates a snapshot user-defined interfaces.

private snapshotInterfaces() : mixed
Return values
mixed

snapshotStaticAttributes()

Creates a snapshot of all static attributes in user-defined classes.

private snapshotStaticAttributes() : mixed
Return values
mixed

snapshotSuperGlobalArray()

Creates a snapshot a super-global variable array.

private snapshotSuperGlobalArray( $superGlobalArray) : mixed
Parameters
$superGlobalArray :
Return values
mixed

Search results