LdapTools\LdapManager::getObjectManager PHP Method

getObjectManager() protected method

Retrieve the LdapObjectManager for the current domain context.
protected getObjectManager ( ) : LdapObjectManager
return LdapTools\Object\LdapObjectManager
    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];
    }