12 class Glyph implements C\Glyph\Glyph {
51 , self::SORT_ASCENDING
52 , self::SORT_DESCENDING
68 $this->checkArgIsElement(
"type",
$type, self::$types,
"glyph type");
72 $this->checkStringArg(
"action",
$action);
77 $this->counters =
array();
78 $this->highlighted =
false;
105 return array_values($this->counters);
112 $clone = clone $this;
128 $clone = clone $this;
129 $clone->highlighted =
true;
This tags a counter object.
__construct($type, $aria_label, $action=null)
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
getType()
Get the type of the counter.
Create styles array
The data for the language used.
withCounter(Counter $counter)