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

Breadcrumb

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

interface EncoderInterface

Same name in this branch
  1. 11.1.x vendor/symfony/serializer/Encoder/EncoderInterface.php \Symfony\Component\Serializer\Encoder\EncoderInterface

@author Chris Corbyn

Hierarchy

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

Expanded class hierarchy of EncoderInterface

All classes that implement EncoderInterface

File

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

Namespace

Symfony\Component\Mime\Encoder
View source
interface EncoderInterface {
    
    /**
     * Encode a given string to produce an encoded string.
     *
     * @param int $firstLineOffset if first line needs to be shorter
     * @param int $maxLineLength   - 0 indicates the default length for this encoding
     */
    public function encodeString(string $string, ?string $charset = 'utf-8', int $firstLineOffset = 0, int $maxLineLength = 0) : string;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
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