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

Breadcrumb

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

function TextPart::setName

Sets the name of the file (used by FormDataPart).

Return value

$this

1 call to TextPart::setName()
DataPart::__construct in vendor/symfony/mime/Part/DataPart.php

File

vendor/symfony/mime/Part/TextPart.php, line 110

Class

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

Namespace

Symfony\Component\Mime\Part

Code

public function setName(string $name) : static {
    $this->name = $name;
    return $this;
}
RSS feed
Powered by Drupal