Monolog\Handler\NativeMailerHandler::__construct
Signature
public function __construct(string|array
$to,
[string
$subject = Logger::ERROR,
[string
$from = Logger::ERROR,
[integer
$level = Logger::ERROR,
[boolean
$bubble = true]]]] )
Parameters
$to
—
object
- The receiver of the mail
$subject
—
string
- The subject of the mail
$from
—
string
- The sender of the mail
$level
—
integer
- The minimum logging level at which this handler will be triggered
$bubble
—
boolean
- Whether the messages that are handled can bubble up the stack or not