Message
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.
at line 59
$this
update(array $attributes = [])
Update the attributes.
at line 77
bool
offsetExists(mixed $offset)
Whether the given offset exists.
at line 89
mixed
offsetGet(mixed $offset)
Fetch the offset.
at line 103
void
offsetSet(mixed $offset, $value)
Assign the offset.
at line 115
void
offsetUnset(mixed $offset)
Unset the offset.