protected function getSessionData() { if (!isset($_SESSION)) { return []; } return $this->removePasswords($this->replaceUnserializable($_SESSION)); }