<commit_before><?php
/**
 * This file belongs to the AnoynmFramework
 *
 * @author vahitserifsaglam <<EMAIL>>
 * @see http://gemframework.com
 *
 * Thanks for using
 */

namespace Anonym\Components\Mail;


class PhpMailerAttachment
{

}<commit_msg>added phpmailer attachment<commit_after><?php
/**
 * This file belongs to the AnoynmFramework
 *
 * @author vahitserifsaglam <<EMAIL>>
 * @see http://gemframework.com
 *
 * Thanks for using
 */

namespace Anonym\Components\Mail;

/**
 * the attachment class for phpmailer driver
 *
 * Class PhpMailerAttachment
 * @package Anonym\Components\Mail
 */
class PhpMailerAttachment
{

    /**
     * the name of file
     *
     * @var string
     */
    private $file = '';

    /**
     * the type of file
     *
     * @var string
     */
    private $type = '';

    /**
     * create a new instance and register the name and type
     *
     * @param string $fileName
     * @param string $type
     */
    public function __construct($fileName = '', $type = '')
    {
        $this->setFile($fileName);
        $this->setType($type);
    }

    /**
     * create a new instance and register the name and type
     *
     * @param string $fileName
     * @param string $type
     * @return PhpMailerAttachment
     */
    public static function create($fileName = '', $type = '')
    {
        return new static($fileName, $type);
    }

    /**
     * @return string
     */
    public function getFile()
    {
        return $this->file;
    }

    /**
     * @param string $file
     * @return PhpMailerAttachment
     */
    public function setFile($file)
    {
        $this->file = $file;
        return $this;
    }

    /**
     * @return string
     */
    public function getType()
    {
        return $this->type;
    }

    /**
     * @param string $type
     * @return PhpMailerAttachment
     */
    public function setType($type)
    {
        $this->type = $type;
        return $this;
    }



}
{'fraction_non_alphanumeric': 0.12857142857142856, 'fraction_numerical': 0.0, 'mean_word_length': 2.0356037151702786, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3183022', 'n_tokens_mistral': 605, 'n_tokens_neox': 606, 'n_words': 153}