class Illuminate / Session / EncryptedStore
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

EncryptedStore

Extends

Properties

protected

$encrypter Encrypter

The encrypter instance.

Default: null

Methods

public

__construct ( $name , SessionHandlerInterface $handler , Encrypter $encrypter , $id , $serialization ) : 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.