private function resumeSection()
    {
        $this->session->resume();

        if (!isset($_SESSION[$this->name])) {
            $_SESSION[$this->name] = [];
        }
    }
private function resumeSection()
    {
        $this->session->resume();

        if (!isset($_SESSION[$this->name])) {
            $_SESSION[$this->name] = [];
        }
    }
private function resumeSection ( ) { $ this -> session -> resume ( ) ; if ( ! isset ( $ _SESSION [ $ this -> name ] ) ) { $ _SESSION [ $ this -> name ] = [ ] ; } }
Ensure that session have proper section.
Ensure that session have proper section .