Since: 8.5

final class NoDiscard (View source)

Properties

string|null $message

Methods

__construct(string|null $message = null)

Construct a new NoDiscard attribute instance

Details

__construct(string|null $message = null)

Construct a new NoDiscard attribute instance

Constructs a new NoDiscard instance.

Parameters

string|null $message

The value of the message property.