CoreFiles by mySites.guru
EntryManagerInterface.php69 lines, 1,680 bytes, from Joomla_4.0.0-alpha11-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha10
md5
807f92724401f54554c4b2cd7f26588b
sha1
aef9c45520df1dd222ee574a2da1cd2579b1843d
sha256
41ef6e7907dd03ac7a373a5d87084ede323a82fe8539766a87ab1f76c7206918
<?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.
     *
     * @param Entry $entry
     *
     * @throws NotBoundException
     * @throws LdapException
     */
    public function add(Entry $entry);

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

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

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

The same content is in 2 releases, Joomla 4.0.0-alpha10 to 4.0.0-alpha11. See them all, or every version of this file.