CoreFiles by mySites.guru
LdapFactoryInterface.php36 lines, 814 bytes, from Joomla_4.4.2-Stable-Full_Package.zip
Raw History Compare with 4.4.1
md5
09f50dc6a3153c0eaf50c411ba7d6cfa
sha1
7f9c2629ec51d36cf3d3e7dc95a5e3d64fe010e5
sha256
34ebffaf1384929ad286a962748e3e73a0b326f88d5e5e8b4d5c210266499ddd
<?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('_JEXEC') 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 192 releases, Joomla 4.4.0-alpha1 to 6.2.1-rc1. See them all, or every version of this file.