src/LdapTools/LdapManager.php
protected function getObjectManager()
    {
        if (!isset($this->ldapObjectManager[$this->context])) {
            $this->ldapObjectManager[$this->context] = new LdapObjectManager(
                $this->getConnection(),
                $this->getSchemaFactory(),
                $this->config->getEventDispatcher()
            );
        }

        return $this->ldapObjectManager[$this->context];
    }
protected function getObjectManager()
    {
        if (!isset($this->ldapObjectManager[$this->context])) {
            $this->ldapObjectManager[$this->context] = new LdapObjectManager(
                $this->getConnection(),
                $this->getSchemaFactory(),
                $this->config->getEventDispatcher()
            );
        }

        return $this->ldapObjectManager[$this->context];
    }
protected function getObjectManager ( ) { if ( ! isset ( $ this -> ldapObjectManager [ $ this -> context ] ) ) { $ this -> ldapObjectManager [ $ this -> context ] = new LdapObjectManager ( $ this -> getConnection ( ) , $ this -> getSchemaFactory ( ) , $ this -> config -> getEventDispatcher ( ) ) ; } return $ this -> ldapObjectManager [ $ this -> context ] ; }
Retrieve the LdapObjectManager for the current domain context.

@return LdapObjectManager
Retrieve the LdapObjectManager for the current domain context .