Message
in package
Lint message
Table of Contents
- $message : mixed
- $type : mixed
- __construct() : mixed
- Prepopulate message context
- __toString() : string
- To string
- getMessage() : string
- Get message
- getType() : string
- Get type
- setMessage() : self
- Set message
- setType() : string
- Set type
Properties
$message
private
mixed
$message
$type
private
mixed
$type
Methods
__construct()
Prepopulate message context
public
__construct([mixed $message = '' ][, mixed $type = 'warning' ]) : mixed
Parameters
- $message : mixed = ''
- $type : mixed = 'warning'
Return values
mixed —__toString()
To string
public
__toString() : string
Return values
string —getMessage()
Get message
public
getMessage() : string
Return values
string —getType()
Get type
public
getType() : string
Return values
string —setMessage()
Set message
public
setMessage(mixed $message) : self
Parameters
- $message : mixed
Return values
self —setType()
Set type
public
setType(mixed $type) : string
Parameters
- $type : mixed