LdapStructureServiceAwareTrait.php 615 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php

namespace UnicaenLdap\Service;

use UnicaenLdap\Service\Structure as LdapStructureService;

trait LdapStructureServiceAwareTrait
{
    /**
     * @var LdapStructureService
     */
    protected $ldapStructureService;

    /**
     * @param LdapStructureService $ldapStructureService
     */
    public function setLdapStructureService(LdapStructureService $ldapStructureService)
    {
        $this->ldapStructureService = $ldapStructureService;
    }

    /**
     * @return LdapStructureService
     */
    public function getLdapStructureService()
    {
        return $this->ldapStructureService;
    }
}