class Illuminate / Session / EncryptedStore
You are viewing an older version of the documentation. For the latest, please visit master documentation.

EncryptedStore

Extends

Properties

protected

$encrypter Encrypter

The encrypter instance.

Default: null

Methods

public

__construct ( $name , SessionHandlerInterface $handler , Encrypter $encrypter , $id ) : void

Create a new session instance.

Parameters

protected

prepareForUnserialize ( $data ) : string

Prepare the raw string data from the session for unserialization.

Parameters

  • $data string
protected

prepareForStorage ( $data ) : string

Prepare the serialized session data for storage.

Parameters

  • $data string
public

getEncrypter ( ) : Encrypter

Get the encrypter instance.