class Message

Lint message

Methods

__construct(string $message = '', string $type = 'warning')

Prepopulate message context

setMessage(string $message)

Set message

string
setType(enum $type)

Set type

string
getMessage()

Get message

string
getType()

Get type

string
__toString()

To string

Details

at line 17
__construct(string $message = '', string $type = 'warning')

Prepopulate message context

Parameters

string $message message
string $type type

at line 28
Message setMessage(string $message)

Set message

Parameters

string $message

Return Value

Message

at line 39
string setType(enum $type)

Set type

Parameters

enum $type warning or error

Return Value

string

at line 49
string getMessage()

Get message

Return Value

string

at line 58
string getType()

Get type

Return Value

string

at line 67
string __toString()

To string

Return Value

string