14 private static $types = array( self::NOVELTY
getNumber()
Get the number on the counter.int
checkArgIsElement($which, $value, $array, $name)
Throw an InvalidArgumentException if $value is not an element of array.
trait ComponentHelper
Provides common functionality for component implementations.
getType()
Get the type of the counter.string One of the counter types.
__construct($type, $number)
checkIntArg($which, $value)
Throw an InvalidArgumentException if $value is no int.