An exception for terminatinating execution or to throw for unit testing.
getId()
Return an ID of the item.string
getDescription()
Get the description of a title.string
getTitle()
Get the title of the item.string
__construct($id, $title, Image $icon=null, $description='')
getIcon()
Get the icon of the item.Image
Interface InterruptiveItem.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
trait ComponentHelper
Provides common functionality for component implementations.