PHP Class PHPUnit_Util_GlobalState, qcodo

Author: Sebastian Bergmann ([email protected])
显示文件 Open project: qcodo/qcodo Class Usage Examples

Protected Properties

Property Type Description
$globals array
$staticAttributes array
$superGlobalArrays array
$superGlobalArraysLong array

Public Methods

Method Description
backupGlobals ( array $blacklist )
backupStaticAttributes ( array $blacklist )
getConstantsAsString ( )
getGlobalsAsString ( )
getIncludedFilesAsString ( )
restoreGlobals ( array $blacklist )
restoreStaticAttributes ( )

Protected Methods

Method Description
arrayOnlyContainsScalars ( array $array )
backupSuperGlobalArray ( $superGlobalArray )
exportVariable ( $variable )
getSuperGlobalArrays ( )
restoreSuperGlobalArray ( $superGlobalArray )

Method Details

arrayOnlyContainsScalars() protected static method

protected static arrayOnlyContainsScalars ( array $array )
$array array

backupGlobals() public static method

public static backupGlobals ( array $blacklist )
$blacklist array

backupStaticAttributes() public static method

public static backupStaticAttributes ( array $blacklist )
$blacklist array

backupSuperGlobalArray() protected static method

protected static backupSuperGlobalArray ( $superGlobalArray )

exportVariable() protected static method

protected static exportVariable ( $variable )

getConstantsAsString() public static method

public static getConstantsAsString ( )

getGlobalsAsString() public static method

public static getGlobalsAsString ( )

getIncludedFilesAsString() public static method

public static getIncludedFilesAsString ( )

getSuperGlobalArrays() protected static method

protected static getSuperGlobalArrays ( )

restoreGlobals() public static method

public static restoreGlobals ( array $blacklist )
$blacklist array

restoreStaticAttributes() public static method

public static restoreStaticAttributes ( )

restoreSuperGlobalArray() protected static method

protected static restoreSuperGlobalArray ( $superGlobalArray )

Property Details

$globals protected_oe static_oe property

protected static array $globals
return array

$staticAttributes protected_oe static_oe property

protected static array $staticAttributes
return array

$superGlobalArrays protected_oe static_oe property

protected static array $superGlobalArrays
return array

$superGlobalArraysLong protected_oe static_oe property

protected static array $superGlobalArraysLong
return array