public function __construct($text, callable $selectAction, $showItemExtra = false, $disabled = false)
{
Assertion::string($text);
$this->text = $text;
$this->selectAction = $selectAction;
$this->showItemExtra = (bool) $showItemExtra;
$this->disabled = $disabled;
}