src/Library/Session/Session.php
public function read()
    {
        if (isset($_SESSION[static::SESSION_NAME])) {
            $sess_table = $this->_uncrypt($_SESSION[static::SESSION_NAME]);
            if (isset($sess_table[static::SESSION_ATTRIBUTESNAME])) {
                $this->attributes = $sess_table[static::SESSION_ATTRIBUTESNAME];
            }
        }
        $this->addSessionTable(static::SESSION_ATTRIBUTESNAME, $this->attributes);
        $this->is_loaded = true;
        return $this;
    }
public function read()
    {
        if (isset($_SESSION[static::SESSION_NAME])) {
            $sess_table = $this->_uncrypt($_SESSION[static::SESSION_NAME]);
            if (isset($sess_table[static::SESSION_ATTRIBUTESNAME])) {
                $this->attributes = $sess_table[static::SESSION_ATTRIBUTESNAME];
            }
        }
        $this->addSessionTable(static::SESSION_ATTRIBUTESNAME, $this->attributes);
        $this->is_loaded = true;
        return $this;
    }
public function read ( ) { if ( isset ( $ _SESSION [ static :: SESSION_NAME ] ) ) { $ sess_table = $ this -> _uncrypt ( $ _SESSION [ static :: SESSION_NAME ] ) ; if ( isset ( $ sess_table [ static :: SESSION_ATTRIBUTESNAME ] ) ) { $ this -> attributes = $ sess_table [ static :: SESSION_ATTRIBUTESNAME ] ; } } $ this -> addSessionTable ( static :: SESSION_ATTRIBUTESNAME , $ this -> attributes ) ; $ this -> is_loaded = true ; return $ this ; }
Read the current session contents

@return self
Read the current session contents