• File: MimeLiteralPartFactory.php
  • Full Path: /var/www/crm_set/application/vendor/zbateson/mail-mime-parser/src/Header/Part/MimeLiteralPartFactory.php
  • Date Modified: 09/21/2026 4:19 AM
  • File size: 605 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
/**
 * This file is part of the ZBateson\MailMimeParser project.
 *
 * @license http://opensource.org/licenses/bsd-license.php BSD
 */
namespace ZBateson\MailMimeParser\Header\Part;

/**
 * Extends HeaderPartFactory to instantiate MimeLiteralParts for its newInstance
 * function.
 *
 * @author Zaahid Bateson
 */
class MimeLiteralPartFactory extends HeaderPartFactory
{
    /**
     * Creates and returns a MimeLiteralPart.
     * 
     * @param string $value
     * @return HeaderPart
     */
    public function newInstance($value)
    {
        return $this->newMimeLiteralPart($value);
    }
}