115 $clone = clone $this;
An exception for terminatinating execution or to throw for unit testing.
__construct($type, $source, $alt)
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.