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

Breadcrumb

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

interface ContentEncoderInterface

@author Chris Corbyn

Hierarchy

  • interface \Symfony\Component\Mime\Encoder\EncoderInterface
    • interface \Symfony\Component\Mime\Encoder\ContentEncoderInterface extends \Symfony\Component\Mime\Encoder\EncoderInterface

Expanded class hierarchy of ContentEncoderInterface

All classes that implement ContentEncoderInterface

1 file declares its use of ContentEncoderInterface
TextPart.php in vendor/symfony/mime/Part/TextPart.php

File

vendor/symfony/mime/Encoder/ContentEncoderInterface.php, line 17

Namespace

Symfony\Component\Mime\Encoder
View source
interface ContentEncoderInterface extends EncoderInterface {
    
    /**
     * Encodes the stream to a Generator.
     *
     * @param resource $stream
     */
    public function encodeByteStream($stream, int $maxLineLength = 0) : iterable;
    
    /**
     * Gets the MIME name of this content encoding scheme.
     */
    public function getName() : string;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ContentEncoderInterface::encodeByteStream public function Encodes the stream to a Generator. 3
ContentEncoderInterface::getName public function Gets the MIME name of this content encoding scheme. 3
EncoderInterface::encodeString public function Encode a given string to produce an encoded string. 5

API Navigation

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