Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. HtmlToTextConverterInterface.php

interface HtmlToTextConverterInterface

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

  • interface \Symfony\Component\Mime\HtmlToTextConverter\HtmlToTextConverterInterface

Expanded class hierarchy of HtmlToTextConverterInterface

All classes that implement HtmlToTextConverterInterface

File

vendor/symfony/mime/HtmlToTextConverter/HtmlToTextConverterInterface.php, line 17

Namespace

Symfony\Component\Mime\HtmlToTextConverter
View source
interface HtmlToTextConverterInterface {
    
    /**
     * Converts an HTML representation of a Message to a text representation.
     *
     * The output must use the same charset as the HTML one.
     */
    public function convert(string $html, string $charset) : string;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
HtmlToTextConverterInterface::convert public function Converts an HTML representation of a Message to a text representation. 2

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal