SessionStorageService

Namespace

IO\Services

Properties
Type Name Description

``

$language

FrontendSessionStorageFactoryContract

$sessionStorage

Methods
public __construct($sessionStorage)

SessionStorageService constructor.

Parameters

Type

Name

Description

FrontendSessionStorageFactoryContract

$sessionStorage

public getSessionValue($name):mixed

Get a value from the session

Parameters

Type

Name

Description

string

$name

public getLang():string

Get the language from session

public getCustomer():Customer