protected function formatAttributes()
    {
        $html = [];

        foreach ($this->attributes as $name => $value) {
            $html[] = $name.'="'.e($value).'"';
        }

        return implode(' ', $html);
    }
protected function formatAttributes()
    {
        $html = [];

        foreach ($this->attributes as $name => $value) {
            $html[] = $name.'="'.e($value).'"';
        }

        return implode(' ', $html);
    }
protected function formatAttributes ( ) { $ html = [ ] ; foreach ( $ this -> attributes as $ name => $ value ) { $ html [ ] = $ name . '="' . e ( $ value ) . '"' ; } return implode ( ' ' , $ html ) ; }
Format the field attributes.

@return string
Format the field attributes .