Labeled

Interface.

use Saij\WpAppFramework\Value\Labeled;

Implemented by a backed enum to label its cases in the editor. The build calls label() for every case; without this interface the editor shows the case values.

Methods

label()

label(): string

The label of the case in the editor. The build calls it, so it must not depend on run-time state.

Returns string