CoreFiles by mySites.guru
MailerFactoryAwareInterface.php33 lines, 780 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
c7880a1234624f0de5c75649ca7f9622
sha1
239fb5983703a0468a261900b94cbb9d8522222e
sha256
aa52e6100a63b2e26255a8d10c0bdb8c1551fd1b3db273c295d56c7d7168f742
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Mail;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * Interface to be implemented by classes depending on a mailer factory.
 *
 * @since  4.4.0
 */
interface MailerFactoryAwareInterface
{
    /**
     * Set the mailer factory to use.
     *
     * @param   ?MailerFactoryInterface  $mailerFactory  The mailer factory to use.
     *
     * @return  void
     *
     * @since   4.4.0
     */
    public function setMailerFactory(?MailerFactoryInterface $mailerFactory = null): void;
}

The same content is in 190 releases, Joomla 4.4.0-alpha2 to 6.2.1-rc1. See them all, or every version of this file.