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

Breadcrumb

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

function AbstractMultipartPart::getBoundary

3 calls to AbstractMultipartPart::getBoundary()
AbstractMultipartPart::bodyToIterable in vendor/symfony/mime/Part/AbstractMultipartPart.php
AbstractMultipartPart::bodyToString in vendor/symfony/mime/Part/AbstractMultipartPart.php
AbstractMultipartPart::getPreparedHeaders in vendor/symfony/mime/Part/AbstractMultipartPart.php

File

vendor/symfony/mime/Part/AbstractMultipartPart.php, line 91

Class

AbstractMultipartPart
@author Fabien Potencier <fabien@symfony.com>

Namespace

Symfony\Component\Mime\Part

Code

private function getBoundary() : string {
    return $this->boundary ??= strtr(base64_encode(random_bytes(6)), '+/', '-_');
}

API Navigation

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