CoreFiles by mySites.guru
QueryInterface.php42 lines, 1,062 bytes, from Joomla_4.1.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.1.0-beta1
md5
0ae9b0df139872fabed50380bc81796a
sha1
dc87d62810994e6f6e1486ee4b860e6a54f8228c
sha256
713ebba4fc314e4b7b309712eaf6e8954c58de4aaa13ff7e91a1d94e016e0dcf
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Ldap\Adapter;

use Symfony\Component\Ldap\Entry;
use Symfony\Component\Ldap\Exception\LdapException;
use Symfony\Component\Ldap\Exception\NotBoundException;

/**
 * @author Charles Sarrazin <[email protected]>
 * @author Bob van de Vijver <[email protected]>
 */
interface QueryInterface
{
    public const DEREF_NEVER = 0x00;
    public const DEREF_SEARCHING = 0x01;
    public const DEREF_FINDING = 0x02;
    public const DEREF_ALWAYS = 0x03;

    public const SCOPE_BASE = 'base';
    public const SCOPE_ONE = 'one';
    public const SCOPE_SUB = 'sub';

    /**
     * Executes a query and returns the list of Ldap entries.
     *
     * @return CollectionInterface|Entry[]
     *
     * @throws NotBoundException
     * @throws LdapException
     */
    public function execute();
}

The same content is in 29 releases, Joomla 4.0.0-beta6 to 4.1.0-beta2. See them all, or every version of this file.