Open Journal Systems  3.3.0
DigestPart.php
1 <?php
2 
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
13 
16 
20 final class DigestPart extends AbstractMultipartPart
21 {
22  public function __construct(MessagePart ...$parts)
23  {
24  parent::__construct(...$parts);
25  }
26 
27  public function getMediaSubtype(): string
28  {
29  return 'digest';
30  }
31 }
Symfony\Component\Mime\Part\Multipart
Definition: AlternativePart.php:12
Symfony\Component\Mime\Part\Multipart\DigestPart\__construct
__construct(MessagePart ... $parts)
Definition: DigestPart.php:22
Symfony\Component\Mime\Part\AbstractMultipartPart
Definition: AbstractMultipartPart.php:19
Symfony\Component\Mime\Part\Multipart\DigestPart
Definition: DigestPart.php:20
Symfony\Component\Mime\Part\Multipart\DigestPart\getMediaSubtype
getMediaSubtype()
Definition: DigestPart.php:27
Symfony\Component\Mime\Part\MessagePart
Definition: MessagePart.php:22