App\Services\Html\BlenderFormBuilder::label PHP Method

label() public method

public label ( string $name, boolean $required = false, array $options = [] ) : string
$name string
$required boolean
$options array
return string
    public function label(string $name, bool $required = false, array $options = []) : string
    {
        return Form::label($name, fragment("back.{$this->module}.{$name}") . ($required ? '*' : ''), $options);
    }