NoDiscard::__construct
PHP function
Edit on GitHub ✎
(PHP 8 >= 8.5.0)
Construct a new NoDiscard attribute instance
Description
NoDiscard::__construct(string|null $message = null)
Constructs a new NoDiscard instance.
Parameters
messageThe value of the
messageproperty.