FML/Script/Features/Tooltip.php
public function setHoverControl(Control $hoverControl)
    {
        $hoverControl->checkId();
        if ($hoverControl instanceof Scriptable) {
            $hoverControl->setScriptEvents(true);
        }
        $this->hoverControl = $hoverControl;
        return $this;
    }
public function setHoverControl(Control $hoverControl)
    {
        $hoverControl->checkId();
        if ($hoverControl instanceof Scriptable) {
            $hoverControl->setScriptEvents(true);
        }
        $this->hoverControl = $hoverControl;
        return $this;
    }
public function setHoverControl ( Control $ hoverControl ) { $ hoverControl -> checkId ( ) ; if ( $ hoverControl instanceof Scriptable ) { $ hoverControl -> setScriptEvents ( true ) ; } $ this -> hoverControl = $ hoverControl ; return $ this ; }
Set the Hover Control

@api
@param Control $hoverControl Hover Control
@return static
Set the Hover Control