src/Bootstrap/Elements/FormGroup.php
public function helpText($text, $small = true, $muted = true, $extraClass = null)
    {
        if ($text === null)
        {
            return $this;
        }

        $element = clone $this;

        $element->helpText = $small
            ? Small::create()->text($text)
            : P::create()->text($text);

        $element->helpText = $element->helpText
            ->addClassIf($extraClass !== null, $extraClass)
            ->addClassIf($muted, 'text-muted');

        return $element;
    }
public function helpText($text, $small = true, $muted = true, $extraClass = null)
    {
        if ($text === null)
        {
            return $this;
        }

        $element = clone $this;

        $element->helpText = $small
            ? Small::create()->text($text)
            : P::create()->text($text);

        $element->helpText = $element->helpText
            ->addClassIf($extraClass !== null, $extraClass)
            ->addClassIf($muted, 'text-muted');

        return $element;
    }
@param string $text
@param bool   $small
@param bool   $muted

@param null   $extraClass

@return static