src/FieldHandlers/FieldHandler.php
public function renderName() : string
    {
        $label = !empty($this->defaultOptions['label']) ? $this->defaultOptions['label'] : '';

        $renderer = $this->config->getProvider('renderName');
        $renderer = new $renderer($this->config);
        $result = $renderer->provide($label);

        return $result;
    }
public function renderName() : string
    {
        $label = !empty($this->defaultOptions['label']) ? $this->defaultOptions['label'] : '';

        $renderer = $this->config->getProvider('renderName');
        $renderer = new $renderer($this->config);
        $result = $renderer->provide($label);

        return $result;
    }
public function renderName ( ) : string { $ label = ! empty ( $ this -> defaultOptions [ 'label' ] ) ? $ this -> defaultOptions [ 'label' ] : '' ; $ renderer = $ this -> config -> getProvider ( 'renderName' ) ; $ renderer = new $ renderer ( $ this -> config ) ; $ result = $ renderer -> provide ( $ label ) ; return $ result ; }
Render field name

@return string
Render field name