25 self::$possible_sizes,
26 implode(self::$possible_sizes,
'/')
28 $this->name =
'custom';
checkArgIsElement($which, $value, $array, $name)
Throw an InvalidArgumentException if $value is not an element of array.
trait ComponentHelper
Provides common functionality for component implementations.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
__construct($icon_path, $aria_label, $size)
Set page orientation and size