CoreFiles by mySites.guru
LdapFactoryInterface.php36 lines, 818 bytes, from Joomla_4.3.0-beta1-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta3
md5
3d7c33b58a56c30a06f41b387d315300
sha1
7491cd75860f8016a95f65850da35d0d3e65665a
sha256
1545b1f1e67a27f855b6197ac7ee90ff4c132d40481d4fd1034666e6d46e4d13
<?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
 */

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 10 releases, Joomla 4.3.0-beta1 to 4.3.1. See them all, or every version of this file.