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