class Message implements ArrayAccess

Properties

string $title

The title of the message.

string $message

The body of the message.

string $level

The message level.

bool $important

Whether the message should auto-hide.

bool $overlay

Whether the message is an overlay.

Methods

__construct(array $attributes = [])

Create a new message instance.

$this
update(array $attributes = [])

Update the attributes.

bool
offsetExists(mixed $offset)

Whether the given offset exists.

mixed
offsetGet(mixed $offset)

Fetch the offset.

void
offsetSet(mixed $offset, $value)

Assign the offset.

void
offsetUnset(mixed $offset)

Unset the offset.

Details

at line 47
__construct(array $attributes = [])

Create a new message instance.

Parameters

array $attributes

at line 59
$this update(array $attributes = [])

Update the attributes.

Parameters

array $attributes

Return Value

$this

at line 77
bool offsetExists(mixed $offset)

Whether the given offset exists.

Parameters

mixed $offset

Return Value

bool

at line 89
mixed offsetGet(mixed $offset)

Fetch the offset.

Parameters

mixed $offset

Return Value

mixed

at line 103
void offsetSet(mixed $offset, $value)

Assign the offset.

Parameters

mixed $offset
$value

Return Value

void

at line 115
void offsetUnset(mixed $offset)

Unset the offset.

Parameters

mixed $offset

Return Value

void