LabelFormatter
class LabelFormatter implements EntryFormatterInterface (View source)
Properties
protected FormatterInterface | $formatter |
Methods
Details
__construct(FormatterInterface $formatter)
No description
string|null
format(string $mask, Entry $entry)
Format a mask given an entry
mixed
getLabel(Entry $entry)
Given no mask, we inspect the attributes on an entry to retrieve a display text label for it.