Snapshot
in package
A snapshot of global state.
Table of Contents
Properties
- $classes : array<string|int, mixed>
- $constants : array<string|int, mixed>
- $excludeList : ExcludeList
- $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>
- $staticProperties : array<string|int, mixed>
- $superGlobalArrays : array<string|int, mixed>
- $superGlobalVariables : array<string|int, mixed>
- $traits : array<string|int, mixed>
Methods
- __construct() : mixed
- classes() : array<string|int, mixed>
- constants() : array<string|int, mixed>
- excludeList() : ExcludeList
- 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>
- staticProperties() : array<string|int, mixed>
- superGlobalArrays() : array<string|int, mixed>
- superGlobalVariables() : array<string|int, mixed>
- traits() : array<string|int, mixed>
- canBeSerialized() : bool
- enumerateObjectsAndResources() : array<string|int, mixed>
- setupSuperGlobalArrays() : void
- snapshotClasses() : void
- snapshotConstants() : void
- snapshotFunctions() : void
- snapshotGlobals() : void
- snapshotInterfaces() : void
- snapshotStaticProperties() : void
- snapshotSuperGlobalArray() : void
Properties
$classes
private
array<string|int, mixed>
$classes
= []
$constants
private
array<string|int, mixed>
$constants
= []
$excludeList
private
ExcludeList
$excludeList
$functions
private
array<string|int, mixed>
$functions
= []
$globalVariables
private
array<string|int, mixed>
$globalVariables
= []
$includedFiles
private
array<string|int, mixed>
$includedFiles
= []
$iniSettings
private
array<string|int, mixed>
$iniSettings
= []
$interfaces
private
array<string|int, mixed>
$interfaces
= []
$staticProperties
private
array<string|int, mixed>
$staticProperties
= []
$superGlobalArrays
private
array<string|int, mixed>
$superGlobalArrays
= []
$superGlobalVariables
private
array<string|int, mixed>
$superGlobalVariables
= []
$traits
private
array<string|int, mixed>
$traits
= []
Methods
__construct()
public
__construct([ExcludeList|null $excludeList = null ][, bool $includeGlobalVariables = true ][, bool $includeStaticProperties = true ][, bool $includeConstants = true ][, bool $includeFunctions = true ][, bool $includeClasses = true ][, bool $includeInterfaces = true ][, bool $includeTraits = true ][, bool $includeIniSettings = true ][, bool $includeIncludedFiles = true ]) : mixed
Parameters
- $excludeList : ExcludeList|null = null
- $includeGlobalVariables : bool = true
- $includeStaticProperties : bool = true
- $includeConstants : bool = true
- $includeFunctions : bool = true
- $includeClasses : bool = true
- $includeInterfaces : bool = true
- $includeTraits : bool = true
- $includeIniSettings : bool = true
- $includeIncludedFiles : bool = true
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>excludeList()
public
excludeList() : ExcludeList
Return values
ExcludeListfunctions()
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>staticProperties()
public
staticProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>superGlobalArrays()
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
Return values
boolenumerateObjectsAndResources()
private
enumerateObjectsAndResources(mixed $variable) : array<string|int, mixed>
Parameters
- $variable : mixed
Return values
array<string|int, mixed>setupSuperGlobalArrays()
private
setupSuperGlobalArrays() : void
snapshotClasses()
private
snapshotClasses() : void
snapshotConstants()
private
snapshotConstants() : void
snapshotFunctions()
private
snapshotFunctions() : void
snapshotGlobals()
private
snapshotGlobals() : void
snapshotInterfaces()
private
snapshotInterfaces() : void
snapshotStaticProperties()
private
snapshotStaticProperties() : void
snapshotSuperGlobalArray()
private
snapshotSuperGlobalArray(string $superGlobalArray) : void
Parameters
- $superGlobalArray : string