PHP Conference Ehime 2026

NoDiscard::__construct

(PHP 8 >= 8.5.0)

NoDiscard::__constructConstruct a new NoDiscard attribute instance

Description

public function NoDiscard::__construct(?string $message = null)

Constructs a new NoDiscard instance.

Parameters

message

The value of the message property.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top