Lines Matching refs:snapshot
23 * @param Snapshot $snapshot
27 public function restoreFunctions(Snapshot $snapshot) argument
35 foreach (array_diff($functions['user'], $snapshot->functions()) as $function) {
43 * @param Snapshot $snapshot
45 public function restoreGlobalVariables(Snapshot $snapshot) argument
47 $superGlobalArrays = $snapshot->superGlobalArrays();
50 $this->restoreSuperGlobalArray($snapshot, $superGlobalArray);
53 $globalVariables = $snapshot->globalVariables();
58 !$snapshot->blacklist()->isGlobalVariableBlacklisted($key)) {
71 * @param Snapshot $snapshot
73 public function restoreStaticAttributes(Snapshot $snapshot) argument
75 …$current = new Snapshot($snapshot->blacklist(), false, false, false, false, true, false, false,…
76 $newClasses = array_diff($current->classes(), $snapshot->classes());
79 foreach ($snapshot->staticAttributes() as $className => $staticAttributes) {
98 if ($snapshot->blacklist()->isStaticAttributeBlacklisted($className, $name)) {
115 * @param Snapshot $snapshot
118 private function restoreSuperGlobalArray(Snapshot $snapshot, $superGlobalArray) argument
120 $superGlobalVariables = $snapshot->superGlobalVariables();