CoreFiles by mySites.guru
EntryManagerInterface.php62 lines, 1,550 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
9e6fc9bf7600debd5cf2ee787b998fa7
sha1
58a9d0b72fd6981a43aadde3dd2b8f1a34340d12
sha256
5a9ad807a0a95958697892f1a5b3a952891c257d7899b41977a4cf69e10d1d45
<?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;

/**
 * Entry manager interface.
 *
 * @author Charles Sarrazin <[email protected]>
 * @author Bob van de Vijver <[email protected]>
 * @author Kevin Schuurmans <[email protected]>
 *
 * The move() methods must be added to the interface in Symfony 5.0
 *
 * @method void move(Entry $entry, string $newParent) Moves an entry on the Ldap server
 */
interface EntryManagerInterface
{
    /**
     * Adds a new entry in the Ldap server.
     *
     * @throws NotBoundException
     * @throws LdapException
     */
    public function add(Entry $entry);

    /**
     * Updates an entry from the Ldap server.
     *
     * @throws NotBoundException
     * @throws LdapException
     */
    public function update(Entry $entry);

    /**
     * Renames an entry on the Ldap server.
     *
     * @param string $newRdn
     * @param bool   $removeOldRdn
     */
    public function rename(Entry $entry, $newRdn, $removeOldRdn = true);

    /**
     * Removes an entry from the Ldap server.
     *
     * @throws NotBoundException
     * @throws LdapException
     */
    public function remove(Entry $entry);
}

No other release has this exact content. See every version of this file.