public function restore() { $backup = array_pop($this->backups); if (is_array($backup)) { $this->registrations = $backup; } }