Property | Type | Description | |
---|---|---|---|
$config | array | ||
$globalSnapshotSkipKeys | array | ||
$globalStateSnapshot | SebastianBergmann\GlobalState\Snapshot | ||
$requiredFields | array | ||
$restorer | SebastianBergmann\GlobalState\Restorer | ||
$superGlobalArrays | array | ||
$wp | tad\WPBrowser\Adapters\WP | ||
$wpLoadPath | The absolute path to the target WordPress installation wp-load.php file. |
Method | Description | |
---|---|---|
__construct ( Codeception\Lib\ModuleContainer $moduleContainer, $config, SebastianBergmann\GlobalState\Restorer $restorer = null, tad\WPBrowser\Adapters\WP $wp = null ) | ||
_initialize ( ) | ||
bootstrapWp ( ) | ||
getSnapshot ( ) | ||
unsetGlobalClosures ( ) |
Method | Description | |
---|---|---|
isClosure ( $value ) | ||
nullClosures ( $value, $level ) | ||
setupSuperglobalArrays ( ) |
Method | Description | |
---|---|---|
restoreAllGlobals ( ) | ||
restoreWpdbConnection ( ) |
public __construct ( Codeception\Lib\ModuleContainer $moduleContainer, $config, SebastianBergmann\GlobalState\Restorer $restorer = null, tad\WPBrowser\Adapters\WP $wp = null ) | ||
$moduleContainer | Codeception\Lib\ModuleContainer | |
$restorer | SebastianBergmann\GlobalState\Restorer | |
$wp | tad\WPBrowser\Adapters\WP |
protected Snapshot,SebastianBergmann\GlobalState $globalStateSnapshot | ||
return | SebastianBergmann\GlobalState\Snapshot |
protected Restorer,SebastianBergmann\GlobalState $restorer | ||
return | SebastianBergmann\GlobalState\Restorer |