protected function sessionEncode()
    {
        $type = ini_get('session.serialize_handler');
        if ($type === 'php') {
            return $this->serializePHP($this->getSessionState());
        }
        if ($type === 'php_binary') {
            return igbinary_serialize($this->getSessionState());
        }
        return false;
    }
protected function sessionEncode()
    {
        $type = ini_get('session.serialize_handler');
        if ($type === 'php') {
            return $this->serializePHP($this->getSessionState());
        }
        if ($type === 'php_binary') {
            return igbinary_serialize($this->getSessionState());
        }
        return false;
    }
protected function sessionEncode ( ) { $ type = ini_get ( 'session.serialize_handler' ) ; if ( $ type === 'php' ) { return $ this -> serializePHP ( $ this -> getSessionState ( ) ) ; } if ( $ type === 'php_binary' ) { return igbinary_serialize ( $ this -> getSessionState ( ) ) ; } return false ; }
Encodes session data
@return string|false
Encodes session data