private function readFromHandler(): array
    {
        $data = $this->handler->read($this->id);

        if ($data === '') {
            return [];
        }

        return $this->prepareForReadFromHandler($data);
    }
private function readFromHandler(): array
    {
        $data = $this->handler->read($this->id);

        if ($data === '') {
            return [];
        }

        return $this->prepareForReadFromHandler($data);
    }
private function readFromHandler ( ) : array { $ data = $ this -> handler -> read ( $ this -> id ) ; if ( $ data === '' ) { return [ ] ; } return $ this -> prepareForReadFromHandler ( $ data ) ; }
Read the session data from the handler.

@return array
Read the session data from the handler .