LdapPeopleServiceAwareTrait.php 570 Bytes
Newer Older
Bertrand Gauthier's avatar
Bertrand Gauthier committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

namespace UnicaenLdap\Service;

use UnicaenLdap\Service\People as LdapPeopleService;

trait LdapPeopleServiceAwareTrait
{
    /**
     * @var LdapPeopleService
     */
    protected $ldapPeopleService;

    /**
     * @param LdapPeopleService $ldapPeopleService
     */
    public function setLdapPeopleService(LdapPeopleService $ldapPeopleService)
    {
        $this->ldapPeopleService = $ldapPeopleService;
    }
21
22
23
24
25
26
27
28

    /**
     * @return LdapPeopleService
     */
    public function getLdapPeopleService()
    {
        return $this->ldapPeopleService;
    }
Bertrand Gauthier's avatar
Bertrand Gauthier committed
29
}