for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the ZBateson\MailMimeParser project.
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*/
namespace ZBateson\MailMimeParser\Message\Factory;
use ZBateson\MailMimeParser\Message\UUEncodedPart;
* Responsible for creating UUEncodedPart instances.
* @author Zaahid Bateson
class IUUEncodedPartFactory extends IMessagePartFactory
{
* Constructs a new UUEncodedPart object and returns it
* @return \ZBateson\MailMimeParser\Message\IUUEncodedPart
public function newInstance()
$streamContainer = $this->partStreamContainerFactory->newInstance();
$part = new UUEncodedPart(
null,
$streamContainer
);
$streamContainer->setStream($this->streamFactory->newMessagePartStream($part));
return $part;
}