14 private static $types = array( self::NOVELTY
An exception for terminatinating execution or to throw for unit testing.
__construct($type, $number)
getNumber()
Get the number on the counter.int
getType()
Get the type of the counter.string One of the counter types.
This tags a counter object.
checkIntArg($which, $value)
Throw an InvalidArgumentException if $value is no int.
trait ComponentHelper
Provides common functionality for component implementations.
checkArgIsElement($which, $value, $array, $name)
Throw an InvalidArgumentException if $value is not an element of array.