public function restoreContext()
{
if (empty($this->m_savedContext)) {
return;
}
$savedContext = array_pop($this->m_savedContext);
foreach ($savedContext as $propertyName => $propertyValue) {
$this->{$propertyName} = $propertyValue;
}
}