Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #80 from bgatellier/patch-1
Browse files Browse the repository at this point in the history
Doc was not up-to-date with 2.x version
  • Loading branch information
Maks3w committed Mar 23, 2015
2 parents 74cb2c9 + accd892 commit 3feda7b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Resources/doc/cookbook/override_ldap-manager.md
Expand Up @@ -34,8 +34,8 @@ fr3d_ldap:

<!-- ... -->

<service id="acme.ldap.ldap_manager" class=Acme\DemoBundle\Ldap\LdapManager">
<argument type="service" id="fr3d_ldap.client" />
<service id="acme.ldap.ldap_manager" class="Acme\DemoBundle\Ldap\LdapManager">
<argument type="service" id="fr3d_ldap.ldap_driver" />
<argument type="service" id="fr3d_ldap.user_manager" />
<argument>%fr3d_ldap.ldap_manager.parameters%</argument>
</service>
Expand All @@ -56,11 +56,11 @@ fr3d_ldap:
namespace Acme\DemoBundle\Ldap;

use FR3D\LdapBundle\Ldap\LdapManager as BaseLdapManager;
use FR3D\LdapBundle\Model\LdapUserInterface;
use Symfony\Component\Security\Core\User\UserInterface;

class LdapManager extends BaseLdapManager
{
protected function hydrate(LdapUserInterface $user, array $entry)
protected function hydrate(UserInterface $user, array $entry)
{
parent::hydrate($user, $entry);

Expand Down

0 comments on commit 3feda7b

Please sign in to comment.