protected function renderAttributes()
    {
        $attributes = '';

        foreach ($this->attributes as $key => $value) {
            $attributes .= " $key" . (null !== $value ? "=\"$value\"" : '');
        }

        return $attributes;
    }
protected function renderAttributes()
    {
        $attributes = '';

        foreach ($this->attributes as $key => $value) {
            $attributes .= " $key" . (null !== $value ? "=\"$value\"" : '');
        }

        return $attributes;
    }
protected function renderAttributes ( ) { $ attributes = '' ; foreach ( $ this -> attributes as $ key => $ value ) { $ attributes .= " $key" . ( null !== $ value ? "=\"$value\"" : '' ) ; } return $ attributes ; }
Render tag attributes

@return string
Render tag attributes