CoreFiles by mySites.guru
LdapFactoryInterface.php36 lines, 822 bytes, from Joomla_4.3.2-Stable-Full_Package.zip
Raw History Compare with 4.3.1
md5
6f58576be952b51499ca62a0e8bf4d8c
sha1
4c83b3f8c69a0a81eefcab167cff8405a1069d35
sha256
56fbfe440c9b04eb5cfb1ec94fb830ab6f3c60d12136c3b9e8259d394e948552
<?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\Plugin\Authentication\Ldap\Factory;

use Symfony\Component\Ldap\LdapInterface;

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

/**
 * Factory to create Ldap clients.
 *
 * @since  4.3.0
 */
interface LdapFactoryInterface
{
    /**
     * Method to load and return an Ldap client.
     *
     * @param   array  $config  The configuration array for the ldap client
     *
     * @return  LdapInterface
     *
     * @since   4.3.0
     * @throws  \Exception
     */
    public function createLdap(array $config): LdapInterface;
}

The same content is in 6 releases, Joomla 4.3.2-rc1 to 4.3.4. See them all, or every version of this file.