NotificationService

Namespace

IO\Services

Properties
Type Name Description

SessionStorageService

$sessionStorageService

Methods
public __construct($sessionStorageService)

BasketService constructor.

Parameters

Type

Name

Description

SessionStorageService

$sessionStorageService

public getNotifications($clear = true):array
Parameters

Type

Name

Description

bool

$clear

public log($message, $code, $placeholder = [])
Parameters

Type

Name

Description

string

$message

int

$code

array

$placeholder

public info($message, $code, $placeholder = [])
Parameters

Type

Name

Description

string

$message

int

$code

array

$placeholder

public warn($message, $code, $placeholder = [])
Parameters

Type

Name

Description

string

$message

int

$code

array

$placeholder

public error($message, $code, $placeholder = [])
Parameters

Type

Name

Description

string

$message

int

$code

array

$placeholder

public success($message, $code, $placeholder = [])
Parameters

Type

Name

Description

string

$message

int

$code

array

$placeholder