25 self::$possible_sizes,
26 implode(self::$possible_sizes,
'/')
28 $this->name =
'custom';
An exception for terminatinating execution or to throw for unit testing.
__construct($icon_path, $aria_label, $size)
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
trait ComponentHelper
Provides common functionality for component implementations.
checkArgIsElement($which, $value, $array, $name)
Throw an InvalidArgumentException if $value is not an element of array.