CoreFiles by mySites.guru
EntryManagerInterface.php74 lines, 1,734 bytes, from Joomla_6.3.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 6.2.0-alpha3
md5
a16a941d4cf0cfae25d2189c35fe8169
sha1
1234f894b5d7ce16dd7c60700fddc251d5aedc59
sha256
9e30e04cfda5a33691aabbf7311a691c90dc7dc2d84e85be27f27a4f0b3f7c84
<?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): static;

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

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

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

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

The same content is in 49 releases, Joomla 6.0.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.