/**
* @author Fabien Potencier <fabien@symfony.com>
*/
final class RelatedPart extends AbstractMultipartPart
{ private AbstractPart
$mainPart;
public function __construct(AbstractPart
$mainPart, AbstractPart
$part, AbstractPart ...
$parts) { $this->mainPart =
$mainPart;
$this->
prepareParts($part, ...
$parts);
parent::
__construct($part, ...
$parts);
} public function getParts(): array
{ return array_merge([$this->mainPart
], parent::
getParts());
} public function getMediaSubtype(): string
{