CoreFiles by mySites.guru
EntryManagerInterface.php74 lines, 1,694 bytes, from Joomla_5.2.3-Stable-Full_Package.zip
Raw History Compare with 5.2.2
md5
3ea2b55ccbf6c8a746d9a69a5e339a36
sha1
72bd6fc9c804e757f5d8bd6f9adb6403ae7faba4
sha256
6f8dc8478480cd95a701d5ced044ce47090e480627e4e7ebaf4b9565907cd6f0
<?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]>
 * @author Kevin Schuurmans <[email protected]>
 */
interface EntryManagerInterface
{
    /**
     * Adds a new entry in the Ldap server.
     *
     * @return $this
     *
     * @throws NotBoundException
     * @throws LdapException
     */
    public function add(Entry $entry);

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

    /**
     * Moves an entry on the Ldap server.
     *
     * @return $this
     *
     * @throws NotBoundException
     * @throws LdapException
     */
    public function move(Entry $entry, string $newParent);

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

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

The same content is in 108 releases, Joomla 5.0.0-alpha2 to 6.0.0-alpha3. See them all, or every version of this file.